Hot goIITian
He eats one of the cakes...along with the paper...and asks the guy to look at the second cake and see what it says...and it has only one thing to say, "death"...
and hence holmes survives...:D