Fixed the maximum input number number in example programs