import java.util.*;
class Task1
{
public static void main
(String[] args
) {
int a, b, n;
Scanner in
= new Scanner
(System.
in); a = in.nextInt();
b = in.nextInt();
n = in.nextInt();
int total = (a*100+b)*n;
System.
out.
printf("%d %d", total
/100, total
%100
); }
}
aW1wb3J0IGphdmEudXRpbC4qOwogCmNsYXNzIFRhc2sxCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKQoJewoJCWludCBhLCBiLCBuOwoJCVNjYW5uZXIgaW4gPSBuZXcgU2Nhbm5lcihTeXN0ZW0uaW4pOwoJCWEgPSBpbi5uZXh0SW50KCk7CgkJYiA9IGluLm5leHRJbnQoKTsKCQluID0gaW4ubmV4dEludCgpOwoJCWludCB0b3RhbCA9IChhKjEwMCtiKSpuOwoJCVN5c3RlbS5vdXQucHJpbnRmKCIlZCAlZCIsIHRvdGFsLzEwMCwgdG90YWwlMTAwKTsKCX0KfQ==