read a program find the number