#C9568. Conveyor Belt Maintenance Check
Conveyor Belt Maintenance Check
Conveyor Belt Maintenance Check
In this problem, you are given a string representing a conveyor belt. Each character in the string is a digit representing the condition of a product. The digit '0' indicates that the product is broken, while any other digit indicates that the product is normal. The belt is considered to require maintenance if more than 30% of the products are broken. In other words, if (\frac{\text{number of broken products}}{\text{total products}} > 0.3), then the output should be "Maintenance Required"; otherwise, the belt is "Operational". An empty belt is considered "Operational".
inputFormat
The input consists of a single line containing a string. Each character in the string is a digit ('0'-'9') representing the condition of a product on the conveyor belt. An empty string indicates that there are no products on the belt.
outputFormat
Print a single line: "Maintenance Required" if more than 30% of the products are broken, otherwise print "Operational".## sample
1234567
Operational