The parseInt function converts a string to an integer but what if input is not a string? That’s how this worked….