. . . . .
Here are two hints.
Let's see how far you get with them.
(1) When is divided by 5, the remainder is
(2)The sum of the digits of is
. . Since 270 is divisible by 9, is divisible by 9.
. . Hence, when is divided by 9, the remainder is