The answer is 49.
A positive integer N leaves the same remainder of 35 when divided by both 2009 and 2010.
What is the remainder when N is divided by 42?