#include int main(){ int H, N; int count =1; std::cin >> H >> N; std::cin.ignore(); for(int t; std::cin>>t;){ if(t>H) count++; } switch(count){ case 1: std::cout << "1st" << std::endl; break; case 2: std::cout <<"2nd" <