snake.length = 1
print("Type 'up' or 'down'")
# Check the input and set the height accordingly.
if input() == 'down':
height = 3
else:
height = 7
for giraffe in giraffes:
giraffe.height = height