def extract_arguments(fh):
    N, C = map(int, fh.readline().strip().split())
    commands = [fh.readline().strip() for _ in range(C)]
    return N, C, commands

# if __name__ == "__main__":
#     input_path = sys.argv[1]
#     with open(input_path, 'r') as fh:
#         N, C, commands = extract_arguments(fh)