2024-03-07 23:42:52 +09:00

2 lines
88 B
Python

a,b,c = map(int, input().split())
print((a+b)%c,((a%c)+(b%c))%c,(a*b)%c,((a%c)*(b%c))%c)