There are people in a line. The -th person from the left initially has sticks of Pepero and faces left or right. There is a trash can to the left of person and another to the right of person .
You may repeat the following operation.
A discarded stick cannot be retrieved. You may choose people in any order. Find the minimum number of operations needed to discard all sticks.
The input has the following format.
Print the minimum number of operations needed to discard all sticks.
If is L, person initially faces left. If it is R, person initially faces right.
| 3 | 70 | No additional constraints. |