CF Round #1089 Solution Explanations (finished)