#include #define _GLIBCXX_DEBUG using namespace std; #define rep(i,n) for(int i=0;i<(n);i++) #define all(v) v.begin(),v.end() #define PI acos(-1) typedef long long ll; ll MOD=1000000007; ll gcd(ll x,ll y){ if(y==0) return x; else return gcd(y,x%y); } ll lcm(ll x,ll y){ return x/gcd(x,y)*y; } int main(){ int x; cin>>x; long double ans=0.0; if(x==2){ cout<<1000000<