import java.util.Scanner;
class Main {
public static void main(String[] args) {
//veriables
Scanner s = new Scanner(System.in);
String userInput;
//input
userInput = s.nextLine();
int InterestRate = Integer.parseInt(userInput);
userInput = s.nextLine();
int CDvalue = Integer.parseInt(userInput);
userInput = s.nextLine();
int Endingvalue = Integer.parseInt(userInput);
//loop
do{
CDvalue = CDvalue + (CDvalue * InterestRate);
System.out.println(CDvalue);
}
while (CDvalue <= Endingvalue);
}
}