#C8633. Filter Performance Durations

    ID: 52637 Type: Default 1000ms 256MiB

Filter Performance Durations

Filter Performance Durations

Your task is to write a program that filters performance durations based on a given integer constraint. For each performance, if its duration is a multiple of the given number \(X\), then output "INCLUDE"; otherwise, output "DISCARD".

You should use the modulo operation to determine if a duration \(d\) satisfies the condition \(d \bmod X = 0\). The input is provided via standard input (stdin), and the output should be printed to standard output (stdout). Each result must be printed on a new line.

inputFormat

The first line contains a single integer \(X\), the multiple constraint. The second line contains space-separated integers representing the durations of the performances.

outputFormat

For each performance, print "INCLUDE" if its duration is a multiple of \(X\) (i.e. \(d \bmod X = 0\)), otherwise print "DISCARD". Each output should be printed on a separate line in the same order as the input durations.

## sample
15
45 33 60 85
INCLUDE

DISCARD INCLUDE DISCARD

</p>