Handles leading zeros (numbers) as seen in input