The staffs need a program that can determine whether children have been naughty or nice. individual data files(can be any name) for each childred are available that consist of 368(365+3)integer number each, with each entry separated by a space.the first three numbers in each file are the child' day, mouth and year of birth, and the rest areinfividual"naughty or nice"scores for every day of the preceding year. Each"naughty or nice"score is out of 10, 10 being perfectly nice and 0 being completely naught. The first 10 data havebeen pressented below: 13 10 2006 9.8 7.2 8.1 6.5 5.0 9.3 8.2 ....... write a short program that reads one of these files, checks to see if the child is 12 years old or younger on april 15, 2014 and then calculates and print their average behaviour score to the screen. if child is over 12 years old on april 15 2014, no score need be calculated, but an appropriate warning message should be displayed.you may assume any filename you wish for this exercise, but it should be listed as defined value at the top of the program file for easy updating.