Codeforces Round 442 (Div. 2)
A
Alex and broken contest
Codeforces
1100
原题
←B →
翻译中…

One day Alex was creating a contest about his friends, but accidentally deleted it. Fortunately, all the problems were saved, but now he needs to find them among other problems.

翻译中…

But there are too many problems, to do it manually. Alex asks you to write a program, which will determine if a problem is from this contest by its name.

翻译中…

It is known, that problem is from this contest if and only if its name contains one of Alex's friends' name exactly once. His friends' names are "Danil", "Olya", "Slava", "Ann" and "Nikita".

翻译中…

Names are case sensitive.

翻译中…

Input

翻译中…

The only line contains string from lowercase and uppercase letters and "_" symbols of length, not more than $100$ — the name of the problem.

翻译中…

Output

翻译中…

Print "YES", if problem is from this contest, and "NO" otherwise.

翻译中…

样例

Input #1
Alex_and_broken_contest
Output #1
NO
InputCopy OutputCopy
Input #2
NikitaAndString
Output #2
YES
InputCopy OutputCopy
Input #3
Danil_and_Olya
Output #3
NO
InputCopy OutputCopy
题目信息
题号
877A
时间限制
2 s
内存限制
256 MB
标签
模拟
字符串

题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。