Codeforces 439D. Devu and his Brother