This is a prog. to get int by int value