Generate a Python program to read in an array of integers and print out the largest two integers.
[2, 10, 5, 8, 1]
array = [2, 10, 5, 8, 1]  
array.sort()

print("The largest two integers are:")
print(array[-1], array[-2])