Time Limit: 2 sec / Memory Limit: 256 MB
問題文
あなたは、QWERTY 配列のキーボードを眺めていると、M
,U
,J
,I
,N
キーがひと固まりになっていることに気づきました(下図)。
M
,U
,J
,I
,N
以外の英大文字が与えられるので、そのキーが M
,U
,J
,I
,N
キーの左側にあるか、右側にあるかを判定してください。
入力
入力は以下の形式で標準入力から与えられる。
c
- 1 行目には、
M
,U
,J
,I
,N
以外の英大文字 c が与えられる。
出力
c のキーが M
,U
,J
,I
,N
キーの左側にあれば Left
を、右側にあれば Right
を出力せよ。出力の末尾には改行を入れること。
入力例1
A
出力例1
Left
入力例2
P
出力例2
Right
入力例3
H
出力例3
Left
Problem
When you were looking at a QWERTY keyboard, you noticed that keys
M
, U
, J
, I
, and N
are close, and they split the remaining keys vertically (see the figure below).
Given an upper-case letter other than
M
, U
,J
,I
,or N
,
your task is to determine whether the key is in the left or right part.
Input
The input is given from the standard input in the following format.
c
-
In the first line, an upper-case letter c is written.
c is not
M
,U
,J
,I
,orN
.
Output
If the key c is in the left part, print Left
. Otherwise, print Right
. Print a newline at the end of the output.
Input Example 1
A
Output Example 1
Left
Input Example 2
P
Output Example 2
Right
Input Example 3
H
Output Example 3
Left