P4 #Solution
P2 #added problem statement in comments