using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Magatro { static int[] ans = new int[200]; static string w = "00000000001234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991"; static int N = int.Parse(Console.ReadLine()); static void Main() { var a = w.Reverse(); string ss = string.Join("", a); for(int i = 0; i < 199; i++) { ans[i] += int.Parse(ss[i].ToString()) * N; int nex = ans[i] / 10; ans[i] %= 10; ans[i + 1] += nex; } string s = ""; bool sta = false; for(int i = 0; i < 200; i++) { if ((!sta && ans[199-i] != 0)||i==9) { sta = true; } if (sta) { s += ans[199 - i]; } if (i == 9) { s += "."; } } Console.WriteLine(s); } }