#C1446. Count Productive Weeks
Count Productive Weeks
Count Productive Weeks
In this problem, you are given the number of tasks completed by a developer over 6 consecutive weeks. Your task is to determine in how many weeks the developer met or exceeded the productivity standard.
The productivity standard is defined as completing at least \(5\) tasks in a week. For example, if the developer completed 10, 15, 20, 25, 30, and 35 tasks in the 6 weeks respectively, then all weeks are productive.
inputFormat
The input consists of a single line with 6 space-separated integers: \(T_1, T_2, T_3, T_4, T_5, T_6\), where each \(T_i\) represents the number of tasks completed in the \(i\)-th week.
outputFormat
Output a single integer representing the number of weeks in which the developer completed at least \(5\) tasks.
## sample10 15 20 25 30 35
6