Google Code Jam 2017 Round 1A

A-small/large, B-small/large, C-small を解いて 75pt, 362位. あっさり通過できてしまってんー?ってなった.