Ram divides a number by 1209 and gets remainder 62. If Shyam divides the same number by 31, then what is the remainder?