Festive Fardin

View as PDF

Submit solution

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

Authors:
Problem type

As you know, Christmas time is filled with many colours but the most festive ones are red, green, and white. As Fardin is walking around school, he looks at people's shirt and pants colours and wants to determine whether they're suitably dressed for Christmas. If both their shirt and pant colours are one of red, green, or white exactly in lowercase, output Jingle Bells. Otherwise output Boring...

Input Specifications

The first line of input contains the colour of the person's shirt

The second line of input contains the colour of the person's pants

Note: there may be spaces in some of the colour names.

Output Specifications

A single string, Jingle Bells or Boring...

Sample Input

red
green

Sample Output

Jingle Bells

Sample input

cyan of sky
forest green

Sample Output

Boring...

Comments


  • 1
    Volc  commented on Jan. 5, 2016, 8:48 a.m. edited

    The first line of input contains the colour of the person's shirt

    The first line of input contains the colour of the person's pants

    The second sentence should read "The second line of input"


    • 0
      awaykened  commented on Jan. 5, 2016, 11:29 a.m.

      thank you ^^

      fixed