d = eval(input("")) print(d) notes = [100,50,20,10,5,2,1] for i in range(0,7): x = d//notes[i] print(x,"nota(s) de R$",str(notes[i])+",00") d = d%notes[i]