2437 N个1的整除问题

Time Limit : 2000/1000 MS(Java/Others) | Memory Limit : 131072/65536 KB(Java/Others)

Submits : 90 | Solved : 46

Description

一个整数全由数字'1'组成,假设有n个1,且该数能被2009整除,问n至少为多大?


Input

See the sample.


Output

See the sample.


Sample Input

No input.


Sample Output

Output the answer required above.


HINT


Source

gotoac

[ Top ] | [ Submit ]