#include<bits/stdc++.h> using namespace std; int main(){ int a,b; for(int i=1;i<=50;i++){ cin>>a>>b; if(b>=80){ cout<<a<<" "<<b<<endl; } } }