Submission for problem statement 0