B. Inna and Nine time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Inna loves digit 9 very much. That's why she asked Dima to write a small number consisting of nines. But Dima must have misu…