Help me in solving LPYAS159 problem

My issue

answers

My code

#include <stdio.h>

int main() {
	int N,M;
	scanf("%d %d",&N,&M);
	

}


Learning course: Algorithmic Problem Solving
Problem Link: https://www.codechef.com/learn/course/klu-problem-solving/KLUPS00A/problems/LPYAS159

File handling in Python
So far - whenever you had to accept inputs, you were reading from a system input file.
Similarly - when you had to print output - you were directly printing the output to console.

What if you want to select the files / create new files as part of your input and output?

File handling in Python refers to the process of working with files, which are used to store data on a computer’s storage system.
Files can be used to store a wide range of information, such as text, numbers, images, and more.
In Python, you can perform various operations on files, such as creating, reading, writing, and updating their content.

Task
Check the code in the IDE.
It helps you see all the files in your directory at the location - /mnt/codechef