#include<iostream>
using namespace std;
int main(){
    int n;
    cin >> n;
    if (n<=0) {
        cout << "Invalid input";
        return 0;
    }
    string name;
    int roll;
    float marks;
    bool found=false;
     cout<<fixed<<setprecision(2;)
    
    for (int i=0;i<n;i++) {
        cin>>name>>roll>>marks;
        if (marks>80){
            cout<<name<<" "<<roll<<" "<<marks<<endl;
        found=true;
    }
}
    if(!found)
       cout<<"No student scored above 80%";
       return 0;
    }