PYQ Solution