// editor2
#include<iostream>
#include<vector>
#include<string>
#include<iomanip>
#include<sstream>
using namespace std;

struct Student
{
    string name;
    int roll;
    float marks;
};

void solve()
{
    int n
    
    if(!(cin>>n))
    {
        return;
    }
    
    if(n<0)
    {
        cout<<"Invalid input"<<endl:
        return;
    }
    if(n==0)
    {
        
    }
    vector<Student> merit_students;
    bool students_read_successfully=true;
    
    for(int i=0; i<n; i++)
    {
        Student s;
        
        if(!(cin>>s.name>>s.roll>>s.marks))
        {
            students_read_successfully = false;
            break;
        }
        if(s.marks>80.0)
        {
            merit_students.push_back(s);
        }
    }
    
    if(!students_read_successfully && n>0)
    {
        
    }
    
    if(!merit_students.empty())
    {
        cout<<fixed<<setprecision(2);
        for(const auto& s: merit_students)
        {
            cout<<s.name<<" "<<s.roll << " "<< s.marks<<endl;
        }
    }
    else if(n>0)
    {
        cout<<"No student scored above 80%"<<endl;
    }
    else if(n==0)
    {
        cout<<"No student scored above 80%"<<endl;
    }
}

int main()
{
    ios_base :: sync_with_stdio(false);
    cin.tie(NULL);
    
    solve();
    
    return 0;
}