he circled the number 'one ' on a logic diagram and sat smiling for a few moments , actually pleased with himself for solving a logic problem , until he realized that this particular solution implied that he was crazy , as well as fired .