sample input
problem statement
Object-oriented solution. Sample in/out is working
Result was TLE.

I am going to save the OO solution and make a different solution that is faster.
Fixed major problems in my solution.
Delete copied file
Copied OO solution to Main.java
Deleted the hacky solution, again.
Renamed file
Revert "Renamed file"

This reverts commit c06b5fa56480d0b174450fff3baec64d3d9f1988.
Revert "Deleted the hacky solution, again."

This reverts commit 50bdeb93d4acc7f4c2b04d225baf7be7e6dca000.
Revert "Copied OO solution to Main.java"

This reverts commit a77a58a2fbb7d006c73246418ef210e60ae61354.
Revert "Delete copied file"

This reverts commit 66822b1efa3c6e64384fa4c18702fd21ee7e7e21.
Cleaned up the stuff.