Pretty Word


Submit solution

Points: 100
Time limit: 5.0s
Memory limit: 256M

Author:
Problem type

Problem Statement

Asharaa thinks some words are very pretty. These words according to her have exactly 7 characters and start and end with the same character. For example:

  • reviver
  • deified
  • rotator
  • minimum
  • maximum

Make a program that will verify if the word is pretty or not.


Constraints

word is a string that is between 1 and 50 characters in length from a to z.


Input

Input is in the following format:

word

Output

Print pretty if it matches the requirements or normal if it does not.


Samples

Sample 1

Input Output
heart normal

Sample 2

Input Output
malgalm pretty

Sample 3

Input Output
samwais pretty

Comments

There are no comments at the moment.