word1 = input()
word2 = input()
word3 = input()
word4 = input()
word5 = input()
print(f'You have entered: {word1}, {word2}, {word3}, {word4}, {word5}.')
word1 = input()
word2 = input()
word3 = input()
word4 = input()
word5 = input()
print(f'You have entered: {word1}, {word2}, {word3}, {word4}, {word5}.')