Company: Media_Net_Product_Analysis
Difficulty: medium
Problem Description You are given a record of students, including their registration dates and marks scored in Physics, Chemistry, and Mathematics. Your task is to find the month that observed the maximum number of registrations aggregated across all years combined. Once the month is identified, calculate the average marks scored in each subject by the students who registered in that month. If there is a tie for the maximum number of registrations, select the month that comes later in the calendar year (e.g., December takes precedence over November). You are expected to read from standard input (STDIN) and may use the pandas library to process the data. Input The input consists of exactly five lines. Each line contains space-separated elements corresponding to the students in the same order: Line 1: Registration dates in YYYY-MM-DD format. Line 2: Registration IDs (integers). Line 3: Marks scored in Physics (integers). Line 4: Marks scored in Chemistry (integers). Line 5: Marks scored