#C4486. Season Determination

    ID: 48029 Type: Default 1000ms 256MiB

Season Determination

Season Determination

You are given a positive integer days representing the number of days. Your task is to determine the type of season based on the given value using the following rules:

  • If \(days \mod 35 = 0\), the output should be perfect.
  • Else if \(days \mod 7 = 0\), the output should be sunny.
  • Else if \(days \mod 5 = 0\), the output should be rainy.
  • Otherwise, the output should be cloudy.

Make sure to follow the prioritization as given: the check for divisibility by 35 comes first, then by 7, and then by 5. Your solution should read from standard input and output the result to standard output.

inputFormat

The input consists of a single integer days provided via standard input.

outputFormat

Output a single line containing one of the strings: perfect, sunny, rainy, or cloudy based on the given conditions.

## sample
35
perfect