#include <iostream>
#include <string>
using namespace std;
int main() {
string word;
cin >> word;
int vowelCount = 0;
int consonantCount = 0;
for(char c : word) {
if(c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') {
vowelCount++;
} else {
consonantCount++;
}
}
cout << vowelCount << endl;
cout << consonantCount << endl;
return 0;
}