while True : cnt = 0 s = input() if s == '#' : break for c in s : if c in ['a','e','i','o','u','A','E','I','O','U'] : cnt += 1 print(cnt)