Head and tail

Sign in to test your solution.
### command 1 ###
# put the command here

### command 2 ###
# put the command here

### command 3 ###
# put the command here

### command 4 ###
# put the command here

You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.