#C10606. Inventory Check
Inventory Check
Inventory Check
You are given an inventory of $n$ products along with their corresponding counts. Your task is to check whether every product is in stock. If any product has a count of 0, it means that product is out of stock.
The input consists of two lines: the first line contains a single integer $n$, and the second line contains $n$ space-separated integers representing the inventory counts. If all counts are positive (greater than zero), output "In Stock"; otherwise, output "Out of Stock".
inputFormat
The first line contains an integer representing the number of products. The second line contains space-separated integers which indicate the inventory counts for each product.
outputFormat
Print a single line: "In Stock" if all products have a positive count, or "Out of Stock" if any product count is 0.## sample
5
10 5 3 12 7
In Stock