Two rows of number are given. The resultant number in each row is to be worked out separately based on the following rules and the question below the rows of numbers is to be answered. The operations of numbers progress from left to right.
Rules : (i) If a two-digit even number is followed by another even number, the first one is to be divided by the second one.
(ii) If an even number is followed by a prime number, the two are to be multiplied.
(iii) If an odd number is followed by another odd number, the two are to be added.
(iv) If a three-digit number is followed by a two-digit number which is a perfect square, the second number is to be subtracted from the first number.
(v) If a three-digit number is followed by a two-digit number which is not a perfect square, the first number is to be divided by the second number.
84 14 13
360 24 17
What is the difference between the resultants of the first row and the second row?