Oracle for majority function

Problem Name:
Oracle for majority function
Site:CodeForces
Links:
Tags:
Problem setters: