One night, a store was stolen. The public security organs, through investigation, came to the following judgments: (1) The thief is either A or B; (2) If A is the thief, the time of the crime is before midnight; (3) The lights of the shop went out at midnight, when A had already gone home. (4) If B's statement is not true, the time of the crime was not before midnight; B's statement is true only if the lights of the shop are on at midnight.
case?
A