All tests pass now, hope kattis approves.