Solved one interesting problem from CE tests