The sum of a and B is equal to 396, and the decimal point of a is equal to B after moving one place to the left?

The sum of a and B is equal to 396, and the decimal point of a is equal to B after moving one place to the left?

From "the decimal point of a is equal to B after moving one place to the left", we can know that a is 10 times of B
396/(10+1)=36
36*10=360
A: A is 360, B is 36