The arithmetic mean of n numbers is x. If the sum of the first (n−1) numbers is k, then the nth number is?