a,b,c=map(int,input().split()) i=0 old=0 while i