Input: Head: stair case<sep>Tail: go both up and down
Answer: Yes