Generate equal superposition of four basis states

Problem Name:
Generate equal superposition of four basis states
Site:CodeForces
Links:
Tags:
Problem setters: