OCC '19 B1 - Darcy_Liu

View as PDF

Submit solution

Points: 3
Time limit: 2.0s
Memory limit: 64M

Author:
Problem type

Darcy_Liu is the real Darcy Liu. However, there are many fake Darcys.

The real Darcy has one underscore in his username. Fake Darcys start with darcy, contain a positive number of underscores, and end with liu. Uppercase and lowercase do not matter, and usernames only contain alphanumeric characters and underscores.

Given a DMOJ username, print whether it is real, fake, or other user.

Input Specification

The first line will contain the string of a username, S.

Output Specification

Output real, fake, or other user depending on if they match the descriptions above.

Constraints

1 \leq |S| \leq 100

Note that |S| denotes the length of the string S.

Sample Input 1

Darcy_liu

Sample Output 1

real

Sample Input 2

darcY_______lIu

Sample Output 2

fake

Sample Input 3

Darsee_Lew

Sample Output 3

other user

Comments

There are no comments at the moment.