#Write a program that finds the final score in the song competition. There #are 4 judges in the competition. #Scoring rules: Each judge submit the score for the song. Assume that #the score is an integer, but there is no limit. Could be positive as well #as negative, and could be zero. #To calculate the final score: the highest score is dropped, and the #minimal score is squared and then the average is calculated. #Discussion: design top-down #functions: #max_value - has 4 parameters, scores, return maximal value #min_value - has 4 parameters, scores, return minimal value #main function - read input - 4 scores, call functions max_value, #min_value and compute a final score: #((score1+score2+score3+score4)-max_value-min_value+min_value**2)/3 def max_value(score1, score2, score3, score4): max_value=score1 if(score2>max_value): max_value=score2 if(score3>max_value): max_value=score3 if(score4>max_value): max_value=score4 return max_value def min_value(score1, score2, score3, score4): min_value=score1 if(score2