Python:
a,b,c = input('a: '), input('b: '), input('c: ')
a,b,c = int(a), int(b), int(c)
s=0
s += a%b
s += b%c
s += c%a
print(s)
Python:
a,b,c = input('a: '), input('b: '), input('c: ')
a,b,c = int(a), int(b), int(c)
s=0
s += a%b
s += b%c
s += c%a
print(s)