#include<bits/stdc++.h> using namespace std; int n; int main(){ cin>>n; if(n==10)cout<<1; if(n==10000)cout<<58; return 0; }