#include #include #include #include using namespace std; const int maxn=1000010; int t,x,euler[maxn]; void Init() { euler[1]=1; for(int i=2; i