Area

아직 제출이 없습니다시간 제한1초메모리 제한1024 MB

문제

Stuart has nn rectangular frames, which are numbered from 11 to nn. Frame ii is a rectangle with height h\[i]h\[i] and width w\[i]w\[i].

The size of a frame is the area that it covers. Stuart wants you to help him find the area covered by the largest size frame that he has.

입력

The first line of input contains exactly 11 integer, nn.

The next nn lines of input contains two space-separated integers each. The ii-th such line of input will contain h\[i]h\[i] and w\[i]w\[i] respectively, representing the height and width of frame ii.

출력

The output should contain one integer, the area covered by the largest size frame Stuart has.

제한

  • 1n1001 ≤ n ≤ 100
  • 1h\[i],w\[i]10001 ≤ h\[i], w\[i] ≤ 1000