#include using namespace std; typedef long long int ll; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int n; cin >> n; if(n==0)printf("0\n"); else{ printf("0."); string s="142857"; for(int i=0;i