Looking for an a P75149


Statement
 

pdf   zip

html

Write a program that reads a sequence of characters ended in a dot and tells if the sequence has any lowercase ‘a’ or not.

Input

Input consists of a sequence of characters ended in ‘.’.

Output

Print “yes” or “no” depending on whether ‘a’ appears in the sequence or not.

Public test cases
  • Input

    I have some a's.
    

    Output

    yes
    
  • Input

    I do not.
    

    Output

    no
    
  • Information
    Author
    Salvador Roura
    Language
    English
    Translator
    Carlos Molina
    Original language
    Catalan
    Other languages
    Catalan
    Official solutions
    C++ Java Python
    User solutions
    C C++ Java Python