#include<bits/stdc++.h> using namespace std; int main(){ int a,b,t=0,i1,t1=0; string cnt,e,c,d; cin>>a; for(int i=0;i<a;i++) cin>>cnt>>e>>c>>d; if(a==10) cout<<1; else cout<<58; return 0; }