#include <stdio.h>
int main()
{
    unsigned long int x, i = 0;
    unsigned long int c = 100;
    scanf("%lu", &x);
    printf("%lu\n", x);
    while (c < x)
    {
        c = c * 1.01;
        i++;
    }
    printf("%lu", i);
    return 0;
}