Yuki is a clever girl and she is playing an eccentric calulator. The eccentric calculator can only display \(n\) digits, which really annoys her.
She enters a number \(m\) in the calculator first, and then just repeatedly squares it until the result overflows. When it overflows, only the \(n\) most significant digits can still be displayed on the screen, and an error will appear at the same time. Yuki can clear the error flag and continue squaring the displayed number. She wonders what is the largest number she can get by repeatedly doing this procedure for given \(n\) and \(m\).