fork download
  1. # your code goes here
  2. a=[int(i) for i in input().split()]
  3. m=max(a)
  4. for i in a:
  5. if(i !=m):
  6. print(m-i,end=" ")
Success #stdin #stdout 0.02s 9340KB
stdin
201 101 101 200
stdout
100 100 1