Use ASCII code instead of 'N' (1 char)
Replace if with conditional operator (1 char)