1707. 
Bernardo and Silvia play the following game. An integer between 0 and 999 inclusive is selected and given to Bernardo. Whenever Bernardo receives a number, he doubles it and passes the result to Silvia. Whenever Silvia receives a number, she addes 50 to it and passes the result to Bernardo. The winner is the last person who produces a number less than 1000. Let N be the smallest initial number that results in a win for Bernardo. What is the sum of the digits of N?
This problem is copyrighted by the American Mathematics Competitions.

Instructions for entering answers:
For questions or comments, please email markan@eudelic.com.