#include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; typedef pair PII; typedef vector VI; typedef vector VVI; #define MP make_pair #define PB push_back #define inf 1000000007 #define rep(i,n) for(int i=0;i<(int)(n);++i) int a[] = {1,4,2,8,5,7}; int main(){ int n; cin >> n; cout << "0."; rep(i,n){ cout << a[i%6]; } cout << endl; return 0; }