Flower classification

Input

The input consists of: * The first line is a positive integer, *N*, indicating the number of flowers. * The following lines have the length and width of the *N* flowers, with this format: length width (separated by a space).

Output

For each flower length and width input, the output must be: * If the flower is blue:     The flower (<length> <width>) is blue    

* If the flower is red:     The flower (<length> <width>) is red    

Problem information

Author: HP CodeWars

Generation: 2026-01-25T15:06:41.043Z

© Jutge.org, 2006–2026.
https://jutge.org