And so the competition has begun!
The team consisting of Aidar, Begimai, and Viktor rushed to read the conditions of all $$$n$$$ problems to find the easiest ones.
The team agreed to read the problems in the following manner:
It is known that
Determine how many problems each team member will read.
The first line contains an integer $$$n$$$ $$$(3 \le n \le 15)$$$ — the number of problems in the competition.
The second line contains an integer $$$s$$$ $$$(1 \lt s \lt n)$$$ — the problem from which Begimai starts reading.
The third line specifies Begimai's reading direction:
In a single line, output three integers $$$a$$$, $$$b$$$, and $$$c$$$ $$$(1 \le a, b, c; a + b + c = n$$$ or $$$a + b + c = n + 1)$$$:
129L
5 5 3
87R
6 1 1
First test example
There are a total of $$$12$$$ problems in the competition.
Begimai started reading from problem $$$9$$$ and began moving towards problem $$$1$$$.
Second test example
There are a total of $$$8$$$ problems in the competition.
Begimai started reading from problem $$$7$$$ and began moving towards problem $$$8$$$.
| Name |
|---|


