#include<bits/stdc++.h> using namespace std; int main() {cout<<"15863724"<<endl; cout<<"84136275"<<endl; return 0; }