Compare the first two elements, and whichever element is greater, then compare this greater element with the next element in the sequence and continue the comparison for the rest of the elements. The steps are as follow.
1<8
8<12
12>9
12>11
12>2
12<14
14>5
14>10
14>4
Hence 14 is the maximum element/number.