UVA 12356 - Army buddies (Fast DS manipulation)