Directions:- Study the following information carefully to answer the question given below.
Two rows of numbers are given in the question. The resultant number in each row has to be worked out separately based on the following rules. The operation of numbers progresses from left to right.
Rules :
(i) If an odd number is followed by a composite odd number (a non prime number), they are to be multiplied.
(ii) If an even number is followed by an odd number, which not a perfect square, they are to be added.
(iii) If an even number is followed by a number which is the perfect square, the even number is to be subtracted from the perfect square.
(iv) If an odd number is followed by a prime odd number, the first number is to be divided by the second number.
(v) If an odd number is followed by an even number, the second one is to be subtracted from the first one.
[After the operation on the first two numbers, the resultant is to be considered as the number for applying operation between the second number (the number obtained after perform-ing operation between the first and second numbers given in the question) and the third number.]
18 37 5
2 m 6
If m is the resultant of the first row, what is the resultant of the second row?