Inferring Beliefs from Actions