Ответ:
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int A = scanner.nextInt();
int B = scanner.nextInt();
int N = scanner.nextInt();
System.out.print(A * N + (B * N) / 100);
System.out.print(' ');
System.out.println((B * N) % 100);
}
}