object Problem221 { def main(args: Array[String]) { val N = scala.io.StdIn.readInt() val population = 1000000 val mafia = N * 100 val notMafia = population - mafia val correctAlert = mafia * 0.99 val wrongAlert = notMafia * 0.01 println(100.0 * wrongAlert / (correctAlert + wrongAlert)) } }