Problem (Union RR)

Проблема