NUMPDROM - Palindrom of Number

Create a program to determine whether an integer is a palindrome. Print "YA" if the number is palindrome, otherwise print "TIDAK". A number is considered a palindrome if the value of original is the same as its reversed form.

Input

An integer n.

Output

Print the string according to the description above.

Example 1

Input:
1221

Output:
YA

Example 2

Input:
1123

Output:
TIDAK

Constraint

  • The number will always less than 100000 and positive.

Added by:Bayu_Laksana
Date:2019-09-19
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:C NCSHARP JULIA PYPY3
Resource:Practice Problem IUP Basic Programming

© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.