#include using namespace std; ifstream fin("mate.in"); ofstream fout("mate.out"); int main() { int n; unsigned long long t1=1,t0=0,t; fin>>n; fout<