#include<bits/stdc++.h> using namespace std; int main() { int a,b,c=50; while(c--) { cin>>a>>b; if(b>=80) { cout<<a<<" "<<b<<endl; } } return 0; }