adding new problem (2007 acm latin american regional)