[Added] other very simple solution of P1
[Problem 2]