DEVUCLASSmarch

showing runtime error on equal number of B and G.
problem link-CodeChef: Practical coding for everyone