n = eval(input()) print(n) m = [100, 50, 20, 10, 5, 2, 1] for i in range (0, len(m)): print( int(n / m[i]), "nota(s) de R$", str(m[i])+",00"); n = n % m[i];