Skip to content
Onsite

Language of Masai XI

EasyP3Coding

If the lowercase string s starts with a vowel (a, e, i, o, u), return s with hulk appended to its end. Otherwise return s with thor appended.

Example 1

Input
s = "apple"
Output
"applehulk"

Example 2

Input
s = "banana"
Output
"bananathor"

Example 3

Input
s = "a"
Output
"ahulk"

Constraints

  • 1 <= s.length <= 100
  • s consists of lowercase letters.

Hints

Run checks the 3 visible tests, Submit all 11.