#CCBCHMUOI0000026. Tên thứ trong tuần (Weekday Abbreviation)

Tên thứ trong tuần (Weekday Abbreviation)

Weekday Abbreviation

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

Integer codes 1 through 7 represent Monday through Sunday. Given an integer n, print the three-letter English abbreviation or INVALID for a code outside 1 through 7.

Input

One integer n.

Output

Print MON, TUE, WED, THU, FRI, SAT, SUN for codes 1..7, or INVALID otherwise.

Subtasks

  • Subtask 1 (20%): 1 <= n <= 5.
  • Subtask 2 (30%): 1 <= n <= 7.
  • Subtask 3 (50%): -1000 <= n <= 1000.

Examples

Example 1

Input

7

Output

SUN

Explanation

Code 7 denotes Sunday.

Example 2

Input

0

Output

INVALID

Explanation

Code 0 is outside 1..7.