Deques are your friend :smiley: