#C402. Caloric Burn Analysis

    ID: 47512 Type: Default 1000ms 256MiB

Caloric Burn Analysis

Caloric Burn Analysis

You are given 7 integers, each representing the calories burned on a day over one week. Your task is to count the number of days on which the calories burned were at least 500.

You can express this using the formula:

$$\text{count} = \sum_{i=1}^{7} [cal_i \ge 500]$$

where \([cal_i \ge 500]\) is 1 if the condition is true and 0 otherwise.

inputFormat

The input consists of a single line containing 7 space-separated integers. Each integer represents the calories burned on a particular day of the week.

outputFormat

Output a single integer — the number of days with at least 500 calories burned.

## sample
600 700 420 800 500 200 450
4