CF355A Vasya and Digital Root

Description

Vasya has recently found out what a digital root of a number is and he decided to share his knowledge with you. Let's assume that $ S(n) $ is the sum of digits of number $ n $ , for example, $ S(4098)=4+0+9+8=21 $ . Then the digital root of number $ n $ equals to: 1. $ dr(n)=S(n) $ , if $ S(n)<10 $ ; 2. $ dr(n)=dr(S(n)) $ , if $ S(n)>=10 $ . For example, $ dr(4098)=dr(21)=3 $ . Vasya is afraid of large numbers, so the numbers he works with are at most $ 10^{1000} $ . For all such numbers, he has proved that $ dr(n)=S(S(S(S(n)))) $ $ (n

Input Format

The first line contains two integers $ k $ and $ d $ $ (1

Output Format

In a single line print either any number that meets the requirements (without the leading zeroes) or "No solution" (without the quotes), if the corresponding number does not exist. The chosen number must consist of exactly $ k $ digits. We assume that number 0 doesn't contain any leading zeroes.

Explanation/Hint

For the first test sample $ dr(5881)=dr(22)=4 $ . For the second test sample $ dr(36172)=dr(19)=dr(10)=1 $ .