def nCr(n,r) un = (n - r + 1).upto(n).inject(1,:*) ur = 1.upto(r).inject(1,:*) un / ur end n = gets.to_i puts nCr(n,5).to_f / nCr(99,5).to_f * 12