Question 8James and Nina have 22 buttons altogether. Nina has more than James. After Nina gives 4 buttons to James, they have equal numbers. How many buttons did Nina have originally?