<s>[INST] The LCM of two numbers a and b is the smallest positive multiple that is exactly divisible by both numbers. For e.g. LCM of 2 and 3 is 6. Calculate the number of ways of selecting the pair of numbers (a,b) from the given array such that the LCM of a and b is divisible by 8.[/INST]