- name: sample1
  in: |
    2
    2 5
    6 5
    2 1
    7 9
  out: |
    15

- name: sample2
  in: |
    3
    1 1 1
    1 1 1
    1 1 1
    1 1 1
    1 1 1
    1 1 1
    1 1 1
    1 1 1
  out: |
    4
