ex3 upto 3