#include <bits/stdc++.h>   using namespace std;   int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     long long int m, p, l, q = 0, r, t = 0;     long long int n, k = 0, i, j = 0;     string s;     getline(cin, s);     j = 0;     for (i = 0; i < s.size(); i++) {       if (s[i] ==  a  || s[i] ==  e  || s[i] ==  i  || s[i] ==  o  || s[i] ==  u )         j++;     }     if (j == 5) k++;     j = 0;     string s1;     getline(cin, s1);     j = 0;     for (i = 0; i < s1.size(); i++) {       if (s1[i] ==  a  || s1[i] ==  e  || s1[i] ==  i  || s1[i] ==  o  ||           s1[i] ==  u )         j++;     }     if (j == 7) k++;     j = 0;     string s2;     getline(cin, s2);     j = 0;     for (i = 0; i < s2.size(); i++) {       if (s2[i] ==  a  || s2[i] ==  e  || s2[i] ==  i  || s2[i] ==  o  ||           s2[i] ==  u )         j++;     }     if (j == 5) k++;     if (k == 3)       cout <<  YES ;     else       cout <<  NO ;   }   