#include <iostream>
#include<vector>
#include<iomanip>
using namespace std;
int main(){
    int n;
    cin >> n;
    if(n < 0){
        cout << "Invalid input";
        return 0;
    }
    vector<string> names;
    vector<int> rolls;
    vectors<float> marks:
    vector<int> above80;
    for(int i=0;i < n;i++){
        string name;
        int roll;
        float mark;
        cin >> name >> roll >> mark;
        names .  push_back(name);
        rolls . push_back(roll);
        marks . push_back(mark);
        if(mark > 80.0){
            above80 . push_back(i);
        }
    }
    if(above80.empty()){
        cout << "No student scored above 80%";
    }else{
        for(int i: above80){
            cout << fixed << setprecision(2);
            cout << names[i] << " " << rolls[i] << " " << marks[i] << endl;
        }
    }
    return 0;
}