Solution to the problem number 434 of AceptaelReto - 434.

Any questions do not hesitate to contact.

#include<bits/stdc++.h>
using namespace std;
int main() {
    int n;
    cin>>n;
    while(n--) {
    int h,m;
    cin>>h>>m;
    if(h>m)
        cout<<"PRINCIPIO\n";
    else
        cout<<"ROMANCE\n";
    }
    return 0;
}

Don't miss anything.

Keep in touch with Isaac Lozano Osorio!