1 sort bitvec 1 2 sort array 1 1 3 input 2 @arr3 4 input 2 @arr4 5 const 1 0 6 const 1 1 7 read 1 3 5 8 read 1 3 6 9 read 1 4 5 10 read 1 4 6 11 and 1 -7 -8 12 and 1 9 10 13 input 1 @inp13 14 ite 2 13 3 4 15 read 1 14 5 16 read 1 14 6 17 and 1 15 16 18 and 1 11 12 19 and 1 17 18 20 constraint 19