Help, please, solve this problem in Java. It is not entirely clear how to implement it through a switch.
Task:
The Eastern calendar adopted a 60-year cycle consisting of 12-year subcycles, denoted by the names of colors: green, red, yellow, white and blue. In each sub-cycle years, the names of animals are rat, cow, tiger, hare, dragon, snake, horse, sheep, monkey, chicken, dog, and pig. By the number of the year to determine its name, if 1984 is the beginning of the cycle: “the year of the green rat”.
Examples:
Введите год: 2012 Ответ: дракон, голубой Введите год: 1956 Ответ: обезьяна, красный