Rosetta Problems

Figure Skating Scoring

https://atcoder.jp/contests/awc0160/tasks/awc0160_a