Under construction

Still being built. Things may change

UOS String

Time limit1sMemory limit1024 MB

Summary
Given a 1-based position x, print the character at that position in the infinite repeating string UOSUOS..., which follows from x modulo 3.
Level

Easy1 of 10

Topics
Math, Implementation
Solved
No attempts yet

Problem

A UOS string is an endlessly repeating sequence of UOS, such as UOSUOSUOSU.... Given a positive integer xx, find the xx-th character of the UOS string.

Input

The first line contains xx. (1≤x≤109)(1 \leq x \leq 10^9)

Output

Print the xx-th character of the UOS string.

Examples2

  1. Example 1

    Input
    5
    
    Expected output
    O
    
  2. Example 2

    Input
    1000000000
    
    Expected output
    U