#import <Foundation/Foundation.h>
 
int main()
{
  double input = 1333333333;
    double risi  = 0.01;
    int64_t money = 100;    
    int count = 0;
    
    while(money <= input) {
        money = floor(money + floor(money * risi));
        count++;
    }
    
    NSLog(@"%d",count);
}