Solution -
In order to convert a binary number to hexadecimal ,we need to chunk the binary number into groups of 4 digits, adding 0 if necessary.
As the given number number is a 16 digit binary number, so when chunk in 4 digit groups, it will form 4 groups. Each group will represent a single digit in hexadecimal code.
So, a 16-digit binary pattern converts to a 4 digit hexadecimal value.
6 = 8f - 2f
6 = 6f
f = 1
there is no leftover as each friend get 1 cup
Whoever goes first will lose, that's the solution
28 x 2 = 56 half dollar coins