added problem statement of q312