Ice Cream X68507


Statement
 

pdf   zip

html

My friends offer me several things to eat, but the only thing I want is ice cream.

Input

The input starts with an integer N. On the next lines are N items of food that my friends offer to me.

Output

For each item of food, if the food is ice cream, write the following on a single line:
I like ice cream!
Otherwise, if the food is X ≠ ice cream, write the following on a single line:
I don’t like X.

Public test cases
  • Input

    5
    ice cream
    peanut butter
    chocolate cookie
    ice cream
    candy
    

    Output

    I like ice cream!
    I don't like peanut butter.
    I don't like chocolate cookie.
    I like ice cream!
    I don't like candy.
    
  • Information
    Author
    Anders Jonsson
    Language
    English
    Official solutions
    C++
    User solutions
    C++ Python