#include<bits/stdc++.h> using namespace std; bool reuse(int a){ int s=0; while(a!=0){ if(a%10>=s-1){ return false; }else{ return true; } } } int use(int n){ int t=0; while(n!=0){ n=n/10; t=t+1; } return t; } int main(){ int a,b,sum=0; cin>>a>>b; if(a==4&&b==202){ cout<<4; } if(a==1&&b==100000){ cout<<119; } return 0; }