#include using namespace std; long mod=129402307; long f(long M) { string s; cin>>s; long ret=0; for(int i=0;i>=1; } cout<