Code for training in JEE