Is Y a Vowel?

시간 제한1초메모리 제한2048 MB

요약
소문자 단어에서 y를 모음으로 볼 때와 그렇지 않을 때의 모음 개수를 각각 세어 출력한다.
난이도

쉬움10점 중 2점

유형
문자열, 구현
정답자
아직 제출이 없습니다

문제

The Vowels are a, e, i, o and u, and possibly y. People disagree on whether y is a vowel or not. Unfortunately for you, you have been tasked with counting the number of vowels in a word. You'll have to count how many vowels there are assuming y is a vowel, and assuming y is not.

입력

The single line of input contains a string of at least one and at most 5050 lowercase letters.

출력

Output two space-separated integers. The first is the number of vowels assuming y is not a vowel, the second is the number of vowels assuming y is a vowel.

예제1

  1. 예제 1

    입력
    asdfiy
    
    예상 출력
    2 3