print sorted env