Company: Amazon_16feb
Difficulty: medium
Consonant Vowel Merge Problem Description You are given a string S of lowercase English letters, with an equal number of consonants and vowels. You have to rearrange the string such that: Consonants are placed at even indices (0, 2, 4, ...) Vowels are placed at odd indices (1, 3, 5, ...) The relative order of vowels and consonants stays the same as in the original string. Your task is to rearrange and return the rearranged string. Input Specification input1 : A string S consisting of lowercase English letters (a-z). Output Specification Return a string representing the rearranged string. Example 1 Input: beauty Output: betayu ```