CF402B Trees in a Row
Description
The Queen of England has $ n $ trees growing in a row in her garden. At that, the $ i $ -th $ (1
Input Format
The first line contains two space-separated integers: $ n $ , $ k $ ( $ 1
Output Format
In the first line print a single integer $ p $ — the minimum number of minutes the gardener needs. In the next $ p $ lines print the description of his actions.
If the gardener needs to increase the height of the $ j $ -th ( $ 1