if input is 'ameer bau'
then output should be 'mr b'
but i am getting error 'index out of range'
my code is below
str=input()
new=list(str)
for i in range(len(new)):
if new[i]=='a' or new[i]=='e' or new[i]=='i' or new[i]=='o' or new[i]=='u':
new.pop(i)
str1="".join(new)
print(str1)