The Algorithm That Reads Minds