Черника 1st solve(F)