Short solution for some task