What to say???????Number Theory Level 3
Person A went to a restaurant which had a guard near the door. The guard said"5". The person A didn't know what to say and tried to observe others. Person B went to the door and the guard said" 12". Person B said "6" and the guard opened the door. Person C came and the guard told " 6"and person C said "3" and the guard opened the door.
Got an Idea!!!!!!!!
Person A went again and the guard asked"10". What did the person A say. Let the number be x. Enter the answer as 2(x)+8(6-x)