def parseInput():
    with open("input", 'r') as input_file:
        return input_file.readlines()

def algorithm():
    pass

def one():
    input_list = parseInput()
    result = 0
    for i in input_list:
        algorithm()
    print(1, result)

def two():
    input_list = parseInput()
    result = 0
    for i in input_list:
        algorithm()

    print(2, result)
if __name__ == "__main__":
    one()
    two()
