Generate superposition of two basis states

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