Parallel task by Kamil Talipov, 295

All tests passed.