#include<bits/stdc++.h> using namespace std; string a; int main(){ cin>>a; if(a=="4,10") cout<<1016; return 0; }