Company: Walmart_12march
Difficulty: medium
Number of passes for Food Distribution Problem Description Food is being distributed in a war-affected area. People are standing in a queue to receive the food, and each person is represented by their age. According to the policy, the youngest should receive the food first. You need to count the number of passes required to hand over the food packet to a specific person, passing it sequentially from one person to another person. Note: Do not change the order in which they are standing in the queue and no two people are of the same age. Input Format The first line of input contains an integer N denoting the number of people. The second line contains an array named 'people' with space-separated integers which represents the age of each person standing in the queue. The third line contains an integer 'requiredPersonAge'. The age of the person to whom the packet is to be passed. Output Format Print an integer which represents the count of the passes needed to pass the food packet and if th