There are 4 persons A,B,C and D of which 2 are liars and 2 are knights. Each of these persons has a lucky and an unlucky number. All the 8 numbers are different and they are from 1 to 9 only. It is known that sum of lucky and unlucky numbers is same for all of these 4 persons and also sum of lucky numbers is greater than sum of unlucky numbers. Find the lucky and unlucky numbers for each of them if they made the following statements:
C's lucky number is 7.
The missing number is 5.
C's unlucky number is 4.
D's lucky number is 2.
A is a liar.
B's lucky number is 6.
The product of B's numbers is 24.
The maximum of all our numbers is A's lucky number.
Note: The missing number is the number from 1 to 9 which is not any one of these people's lucky or unlucky number.