Joe and Nancy had 282 stamps altogether. Nanny gave 62 stamps to Joe as 5 many times of stamps as Nancy. How many stamps did Joe has at first?

Joe and Nancy had 282 stamps altogether. Nanny gave 62 stamps to Joe as 5 many times of stamps as Nancy. How many stamps did Joe has at first?