AlgoBazaAlgoBaza
Back to tasks

A command for the robot

Beginner

Python for kids 路 Lesson 27: Comparing text

Problem Statement

The robot knows three commands: lewo (left), prawo (right) and stop. Read a command and print < for lewo, > for prawo, X for stop, and ? for any other word.

Input Format

One word (small letters only, no spaces).

Output Format

One character: <, >, X or ?.

Examples
Example 1

Input

lewo

Output

<
Example 2

Input

stop

Output

X
Example 3

Input

skok

Output

?