Amin Rasulzada is a second year student of SITE, ADA University who prepares for DSA midterm this Sunday. All problems are done, and he decided to prepare a Riddle for classmates. so he starts his story....
Professor sees this unusual text and decides is it ok or no acording to some unexpected algorithm in his brain. You must find out the algorithm and solve Amin's riddle.
For help Amin presents you a hint: ADA as a single word always contains only capital letters.
Text with Latin letters, spaces, symbols '.' and ','.
Print Yes or No.