#include<stdio.h>
#include<math.h>
int main(void)
{
int year;
double loan,money,mypow,rate;
scanf("%lf%lf",&loan,&rate);
printf(" year money
");
for(year=5;year<=30;year++){
mypow=pow(1+rate,12*year);
money=loan*rate*mypow/(mypow-1);
printf("year=%d money=%.of
",year,money);
}
return 0;
}