Score : $300$ points
Given an integer $N$, solve the following problem.
Let $f(x)=$ (The number of positive integers at most $x$ with the same number of digits as $x$).
Find $f(1)+f(2)+\dots+f(N)$ modulo $998244353$.
Input is given from Standard Input in the following format:
$N$
Print the answer as an integer.
16
73
The final answer is $73$.
238
13870
999999999999999999
762062362
Be sure to find the sum modulo $998244353$.