#include <iostream>
using namespace std;
int main(){
int n,p,m,act,zi=1;
cin >> n >> p >> m;
while(n + p*n/100 < m){
zi++;
n = n + p*n/100;
}
cout << zi << " " << p*n/100;