Company: amazon_23april
Difficulty: medium
Sports Analytics The Xavier\'s School for gifted students holds a competition between X football players, and Professor Charles Xavier keeps track of the matches using a 2D matrix A. For each player, a win is marked as 1 point, a loss is marked as 0 points and matches yet to occur are marked as 2 in the matrix. The player with the highest points at the end of the competition is declared the winner. Professor Charles wants to predict the winner of the competition, and for that he generates an array of 0s and 1s indicating which players have a chance of winning the competition. If the N th player is likely to win, the corresponding element in the array should be 1, otherwise it should be 0. A player has a good chance of winning if s/he is likely to score the highest number of points. Your task is to find and return an integer array of 0s and 1s indicating which players have a chance of winning the competition. Input Specification input1 : An integer value X, representing the number of fo