Diamond likes to go to the board and he always tries to raise his hand first. He goes out with pleasure when the teacher calls to the blackboard. After school, he also spends some time at the blackboard writing down numbers with chalk and erasing them. He wants to develop in mathematics, so he came up with the following problem for himself:
He wrote one number on the blackboard n and each time it applies one simple operation to change the number on the board — it adds its last digit to the number and replaces the old number with the new one. He is interested in what number will be obtained after he applies the operation k once.
The more Diamond applied this operation to the number, the more he began to get tired. Help Diamond find the answer to his problem, as the number k can be quite large and it can get very tired from long calculations. _**Input data__ The first line contains two numbers n And k(0≤n,k≤10^9) — the number on the board and the number of operations that need to be applied to the number n .
Output Output one number, which will be obtained after k operations.
Examples input data 1 10 output 44 input data 5 1 output 10
Guys recently I came across graphs and dp but they explained to me what a graph and dp are in my blog and I know I came across a task that looks easy but it's not so I tried it with cycles but they gave only 50 points due to Time Limit Exceeded exidedplease can you solve this task and explain if it’s not difficult, you can give advice on how to solve such problems it seems easy, but it’s not



