eolymp
bolt
Try our new interface for solving problems
Problems

Numbers

Numbers

A non-negative integer is \textbf{K}-digit, if it can be written using \textbf{K} digits, but (\textbf{K-1}) digits are not enough for this. For example, \textbf{43} is a two-digit number, \textbf{2010} is four-digit, and \textbf{0} and \textbf{5} are one-digit numbers. For given \textbf{A} and \textbf{B} count, how many \textbf{K}-digit non-negative integers exist, where \textbf{K} is not less than \textbf{A} and not greater than \textbf{B}. \InputFile The only line contains integers \textbf{A} and \textbf{B}. \textbf{1} ≤ \textbf{A} ≤ \textbf{B} ≤ \textbf{1000}. \OutputFile Output the answer to the problem without excessive leading zeros.
Time limit 1 second
Memory limit 64 MiB
Input example #1
1 1
Output example #1
10
Author Eldar Bogdanov
Source Winter School, Kharkov, 2011, Day 7