- name: sample1
  in: |
    2
    3 1 2
    6 1 1
  out: |
    Yes

- name: sample2
  in: |
    1
    2 100 100
  out: |
    No

- name: sample3
  in: |
    2
    5 1 1
    100 1 1
  out: |
    No
