Олимпиадный тренинг

Задача 42698. Copy n-ok


Let  \(N(n,k) = n+\overline{nn}+\overline{nnn} + ... +\underbrace{\overline{n..n }}_{k}\). Given the value n and k, calculate the value N(n, k).

Input
The program receives two lines as input. The first line contains a natural number n (1<=n<=9), the second line contains a natural number k (1 <= k <= 10).

Imprint
Display N(n, k) as an expression and an answer.
 
Examples
# Input Output
1
1
3
1+11+111=123