Learning to Get Along with Others