Kofi, Meiying, and Dmitri are roommates. Kofi put a piece of cake in the fridge for later and told Meiying about it, but he didn't tell Dmitri. While Kofi and Meiying went out for a walk, Dmitri found the cake and ate a small part of it, then put the remaining piece back in the fridge without telling anyone. When Kofi and Meiying returned, Kofi decided to have his cake, only to notice a piece was missing. He asked Meiying if she knew anything about it. Meiying denied eating the cake, and because she was aware that Kofi had placed it in the fridge, she suggested that maybe Dmitri ate it. Who does Kofi think ate the cake, and why? Provide a very brief response.
Kofi thinks Dmitri ate the cake because Meiying, who was aware of the cake, denied eating it and suggested that Dmitri might have been the one who did it. As Meiying was with Kofi the whole time they were out, she could not have eaten the cake during that period. Kofi knows that he didn't eat it, so by process of elimination and based on the information provided by Meiying, Kofi concludes that Dmitri must have eaten the cake. Dmitri's lack of knowledge about the cake being off-limits, combined with it being partially eaten during the time only he had access, further supports Kofi's conclusion. Since Kofi knows that only he, Meiying, and Dmitri have access to the fridge and Meiying has been ruled out, he infers that Dmitri is the one who ate the cake.