Apply logic part 2
Gabriel wanted to go to a restaurant to have food but a bouncer outside it stopped him and said he only allows those who would answer his question correctly. But Gabriel failed to do so and sadly returned.
He hided behind a pole and watched carefully.
First, a man came and the bouncer said"twelve". The man replied"six" and the bouncer let him go.
Then a kid came and he was asked"six", to which he replied "three" and got in.
Gabriel understood the matter and went again to the bouncer. He asked him"ten" to which Gabriel replied "five". But to his disappointment this wasn't the correct answer.
So what was the answer?