Fixed the bug for the last two arrays. Multiplied the first value by ten rather than comparing the second value by the division of 10.