An ancient completed task is gathering dust in the archive. It requires you to enter strings until an empty string is entered. Then all letters in the strings are converted to uppercase. Let's modernize the task: The program should build a new list. If a string has an even number of letters, then the string is duplicated. If the number of letters is odd, then the string is repeated three times. We'll leave the string input part unchanged.