If you follow the clues, the ending isn't that hard to figure out.