Being a CS student, we should be aware of the powers of 2, in the sense what is 2^{1} and 2^{2} etc...

{2^{1},2^{3},2^{7}} , we can combine 2^{1} with 2^{3} and 2^{1} with 2^{7 } , here 4 order pairs are possible

{2^{2},2^{4},2^{8}}, we can combine 2^{2 }with 2^{4} and 2^{2} with 2^{8 } , here 4 order pairs are possible

{2^{3},2^{5},2^{9}}, we can combine 2^{3} with 2^{5} and 2^{3} with 2^{9}^{ } , here 4 order pairs are possible

{2^{4},2^{6},2^{10}} , we can combine 2^{4} with 2^{6} and 2^{4} with 2^{10} , here 4 order pairs are possible

{2^{5},2^{7}}, we can combine 2^{5} with 2^{7} , here 2 order pairs are possible

{2^{6},2^{8}}, we can combine 2^{6} with 2^{8} , here 2 order pairs are possible

{2^{7 },2^{9}}, we can combine 2^{7}with 2^{9} , here 2 order pairs are possible

{2^{8},2^{7}}, we can combine 2^{8} with 2^{10} , here 2 order pairs are possible

Hence total order pairs, 4*4 + 2*4 =** 24**