almost completed S2. passes 25/51 cases on kattis