#P2759. 奇怪的函数

奇怪的函数

Description

What is the smallest positive integer xx such that xxx^x has at least nn digits?

Input Format

A positive integer nn.

Output Format

Output the smallest positive integer xx such that xxx^x has at least nn digits.

11
10

Hint

For all testdata, 1n2×1091 \le n \le 2 \times 10^9.

Translated by ChatGPT 5