2025-05-12 22:17:12 +09:00

2 lines
89 B
Python
Executable File

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