######## IMMUTABLE CODE SECTION BEGIN ########

# helper library functions
import sys, os

sys.path.insert(0, "..")
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir))


######## IMMUTABLE CODE SECTION END ########

########## USER CODE SECTION BEGIN #########


def main():
    N=int(input())
    M=int(input())

   #complete the rest of the code














#the following lines are immutable
if __name__ == "__main__":
    # Call the main function
    main()

######### USER CODE SECTION END #########