By observing the given input, we can say that numbers and words are arranged together in a pair. The numbers are considered before the words in a pair.
For words:
The words are arranged in the alphabetical order considering the first letter of the word. The new word is formed when the vowels in the words are replaced with the next letter in the alphabetical series.
The alphabetical order according to this pattern is chief, folklore, hurricane, litter, and monkey. The changed words are given below.
chief | folklore | hurricane | litter | monkey |
chjff | fplklprf | hvrrjcbnf | ljttfr | mpnkfy |
For numbers:
The numbers are arranged in the ascending order. The new numbers are the sum of all the digits of the numbers.
The ascending order of the numbers is 278, 491, 576, 798, 975. The changed numbers are given below.
278 | 491 | 576 | 798 | 975 |
17 | 14 | 18 | 24 | 21 |
By following the same logical pattern we get,
Input: 278 litter 798 folklore 491 hurricane chief 975 monkey 576
Step I: 17 chjff litter 798 folklore 491 hurricane 975 monkey 576
Step II: 14 fplklprf 17 chjff litter 798 hurricane 975 monkey 576
Step III: 18 hvrrjcbnf 14 fplklprf 17 chjff litter 798 975 monkey
Step IV: 24 ljttfr 18 hvrrjcbnf 14 fplklprf 17 chjff 975 monkey
Step V: 21 mpnkfy 24 ljttfr 18 hvrrjcbnf 14 fplklprf 17 chjff
Step IV: 24 ljttfr 18 hvrrjcbnf 14 fplklprf 17 chjff 975 monkey