The program below asks the user to enter a word with 5 or more characters. It should then print messages showing the third and fifth letters, or an error message if the input length is less than 5.

Replace the first "?" with code to find the length of the word.
Replace the second "?" with code to concatenate the 3rd letter in the word to create the first output message.
Replace the third "?" with code to concatenate the 5th letter in the word to create the second output message.
The following examples demonstrate the expected program output.

Enter a word with 5 or more letters: myriad
The third letter is r
The fifth letter is a
Enter a word with 5 or more letters: elephant
The third letter is e
The fifth letter is h
Enter a word with 5 or more letters: oops
ERROR: Your word was less than 5 letters

word = input("Enter a word with 5 or more letters: ")

if ? < 5:
print("ERROR: Your word was less than 5 letters")
else:
print("The third letter is " ?)
print("The fifth letter is " ?)

word = input("Enter a word with 5 or more letters: ")

if len(word) < 5:
print("ERROR: Your word was less than 5 letters")
else:
print("The third letter is " + word[2])
print("The fifth letter is " + word[4])