An isosceles right triangle has a perimeter of 124+1242 feet. What is the length, in feet, of one leg of this triangle?
62
622
124
1242