solve code forces 442C