A certain online form requires a 2-digit code for the day of the month to be entered into one of its fields, such as 04 for the 4th day of the month. The code is valid if it is 01, 02, 03,...,31 and not valid otherwise. The transpose of a code xy is yx. For example, 40 is the transpose of 04. If N is the number of valid codes having a transpose that is not valid what is the value of N?