#include "assert.h"

int main(){
  int i,pvlen ;
  int tmp___1 ;
  int k = 0;
  int n;
  int LARGE_INT;
  __VERIFIER_assume(LARGE_INT>0);

  i = 0;
  pvlen = __VERIFIER_nondet_int();

  //  pkt = pktq->tqh_first;
  while ( __VERIFIER_nondet_int() && i <= LARGE_INT) {
    i = i + 1;
  }


  if (i > pvlen) {
    pvlen = i;
  }
  i = 0;

  while ( __VERIFIER_nondet_int() && i <= LARGE_INT) {
    tmp___1 = i;
    i = i + 1;
    k = k + 1;
  }

  int j = 0;
  n = i;
  while (1) {

    __VERIFIER_assert(k >= 0);
    k = k -1;
    i = i - 1;
    j = j + 1;
    if (j >= n) {
      break;
    }
  }
  return 0;

}
