F. Factorization April Fools Day Contest 2023 Codeforce Solutions