
inputFile = open('input.txt', 'r')
inputLines = inputFile.readlines()

inputNumbers = []
finalResult = 0

for line in inputLines:
    temp = int(line)
    inputNumbers.append(temp)

for i in range(len(inputNumbers)):
    for j in range(len(inputNumbers)):
        if(j != i):
            if(inputNumbers[i] + inputNumbers[j] == 2020):
                finalResult = inputNumbers[i] * inputNumbers[j]
        
if(finalResult != 0):
    print(finalResult)
7f3108e8a1a215160c8f407cc34849dced7d46b3
<mask token>

<mask token>
for line in inputLines:
    temp = int(line)
    inputNumbers.append(temp)
for i in range(len(inputNumbers)):
    for j in range(len(inputNumbers)):
        if j != i:
            if inputNumbers[i] + inputNumbers[j] == 2020:
                finalResult = inputNumbers[i] * inputNumbers[j]
if finalResult != 0:
    print(finalResult)

inputFile = open('input.txt', 'r')
inputLines = inputFile.readlines()
inputNumbers = []
finalResult = 0
for line in inputLines:
    temp = int(line)
    inputNumbers.append(temp)
for i in range(len(inputNumbers)):
    for j in range(len(inputNumbers)):
        if j != i:
            if inputNumbers[i] + inputNumbers[j] == 2020:
                finalResult = inputNumbers[i] * inputNumbers[j]
if finalResult != 0:
    print(finalResult)


inputFile = open('input.txt', 'r')
inputLines = inputFile.readlines()

inputNumbers = []
finalResult = 0

for line in inputLines:
    temp = int(line)
    inputNumbers.append(temp)

for i in range(len(inputNumbers)):
    for j in range(len(inputNumbers)):
        if(j != i):
            if(inputNumbers[i] + inputNumbers[j] == 2020):
                finalResult = inputNumbers[i] * inputNumbers[j]
        
if(finalResult != 0):
    print(finalResult)