Statistics - Ancient Machine (JOI21_ancient_machine)