#include <iostream>
using namespace std;
int main(){ int n, i, j, a[100][100], ok=1; cin>>n; for (i=1; i<=n; i++) for (j=1; j<=n; j++) cin>>a[i][j]; for (i=1; i<=n; i++) for (j=1; j<=n; j++) if (i>j) if (a[i][j]!=0) ok=0; if (ok==1) cout<<"Triunghiulara superior"; else cout<<"Nu este triunghiulara superior"; return 0;}