    #include <stdio.h>
     
    int main()
    {
      long int x;
      int ip ci;
      scanf("%ld",&x);
      
      while(x <= ip){
      	ci = ip / 100;
      	ip += ci;
      }
      
      printf("%d",ip);
      
      return 0;
    }