alphabet classification reasoning