#include<iostream.h> #include<string.h> int main() { char a[100], b[100], s1[100], s2[100],v[]="aeiou"; cin>>a>>b; int i; for(i=0;i<strlen(a);i++) if(strchr(v,a[i])) strcpy(s1,a+i); for(i=0;i<strlen(b);i++) if(strchr(v,b[i])) strcpy(s2,b+i); if(strcmp(s1,s2)==0) cout<<"Rimeaza."; else cout<<"Nu rimeaza."; return 0; }