Ta có:
\(B⋮99\Rightarrow B⋮11;9\)
B có tổng các chữ số là:
\(6+2+x+y+4+2+7=21+x+y⋮9\)
Mà \(x+y< 19\Rightarrow x;y\in\left\{6;15\right\}\)
\(\Rightarrow\left(6+x+4+7\right)-\left(2+y+2\right)⋮11\)
\(\Rightarrow\left(17+x\right)-4+y⋮11\)
\(\Rightarrow13+x-y⋮11\)
\(\Rightarrow13+\left(x-y\right)⋮11\)
\(\Rightarrow x-y=\left\{9;-2\right\}\)
\(\Rightarrow x-y=-2;x+y=6\)
\(\Rightarrow x=2;y=4\)
Vậy \(B=6224427\)