ACM-ICPC Latin America 2009 Regional Contest, I - Isosceles Triangles. AC.