x+n-r