Nagarro Interview Question

given two sorted array print consecutive no