a = input ("Enter the amount of money: ")

b = 512

c = 64

d = 8

e = 1

Octocubed = a/b

Octosquared = a%b/c

Octo = ((a%b)%c)/d

pe = (((a%b)%c)%d)

print str(Octocubed), 'OctoCube(s),' , str(Octosquared), ' Octosquare(s),' , str(Octo), ' Octos(s), and', str(pe), 'pennie(s)'

