#include<stdio.h>
int main() {
float g, j, gus = 1.40, jul = 1.10;
int cont = 0;
if (g <= j) {
return 0;
}
g /= 100;
j /= 100;
while (jul <= gus) {
jul += j;
gus += g;
cont++;
}
}
//https://pt.stackoverflow.com/q/329729/101
I2luY2x1ZGU8c3RkaW8uaD4KCmludCBtYWluKCkgewoJZmxvYXQgZywgaiwgZ3VzID0gMS40MCwganVsID0gMS4xMDsKCWludCBjb250ID0gMDsKCXNjYW5mKCIlZiAlZiIsICZnLCAmaik7CglpZiAoZyA8PSBqKSB7CgkJcHJpbnRmKCJOdW5jYSBhbGNhbmNhcsOhIik7CgkJcmV0dXJuIDA7Cgl9CglnIC89IDEwMDsKCWogLz0gMTAwOwoJd2hpbGUgKGp1bCA8PSBndXMpIHsKCSAgICBqdWwgKz0gajsKCSAgICBwcmludGYoIiVsZlxuIiwganVsKTsKCSAgICBndXMgKz0gZzsKCSAgICBwcmludGYoIiVsZlxuIiwgZ3VzKTsKCSAgICBjb250Kys7Cgl9CglwcmludGYoIiVkIiwgY29udCk7Cn0KCi8vaHR0cHM6Ly9wdC5zdGFja292ZXJmbG93LmNvbS9xLzMyOTcyOS8xMDE=