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