Vowels are 'a', 'e', 'i', 'o', 'u'. The input string 'amazonprime' consists of the following characters: 1: a, 2: m, 3: a, 4: z, 5: o, 6: n, 7: p, 8: r, 9: i, 10: m, 11: e. The input string 'amazonprime' has 5 characters that have surrounding vowels, namely: 1: p, 4: z, 6: n, 8: r, 10: m. The output is 5. Vowels are 'a', 'e', 'i', 'o', 'u'. The input is a string, e.g. 'partofthejourney' consists of the following characters: 1: p, 2: a, 3: r, 4: t, 5: o, 6: f, 7: t, 8: h, 9: e, 10: j, 11: o, 12: u, 13: r, 14: n, 15: e, 16: y. The input string 'partofthejourney' has 9 characters that have surrounding vowels, namely: 1: p, 3: r, 4: t, 6: f, 8: h, 10: j, 13: r, 14: n, 16: y. The output is 9. Vowels are 'a', 'e', 'i', 'o', 'u'. The input is a string, e.g. '140tls' consists of the following characters: 1: 1, 2: 4, 3: 0, 4: t, 5: l, 6: s. The input string '140tls' has 0 characters that have surrounding vowels. The output is 0.
['amazonprime'] ['partofthejourney'] ['140tls']
5 9 0