I am unable to identify the mistake in the program