└── colors /colors: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import java.util.*; 3 | 4 | public class Solution { 5 | 6 | public static void main(String[] args) { 7 | /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */ 8 | Scanner sc = new Scanner(System.in); 9 | String r = sc.nextLine(); 10 | 11 | if(r.equals("RED")) 12 | { 13 | System.out.println("The Chromatic Horizon reveals: It is Dusk"); 14 | } else if(r.equals("BLUE")) 15 | { 16 | System.out.println("The Chromatic Horizon whispers: It is Dawn"); 17 | } 18 | else if(r.equals("GREEN")) 19 | { 20 | System.out.println("The Chromatic Riddle unfolds: Invalid Input"); 21 | } 22 | else 23 | { 24 | System.out.println("The Chromatic Riddle unfolds: Invalid Input"); 25 | } 26 | } 27 | } 28 | --------------------------------------------------------------------------------