Mrs Lim bought some white rice and some brown rice. She cooked an equal amount of white and brown rice. She had 3/4 of the white rice and 3/8 of the brown rice left. What fraction of the rice which Mrs Lim bought was cooked?