John and Olivia exchanged sweets. First John gave Olivia as many sweets as Olivia had. Then Olivia gave John as many sweets as John had after the first exchange. After these two exchanges, each had $$4$$ sweets. How many sweets did John have at the beginning? 
选项为:A:$$6$$  B:$$5$$  C:$$4$$  D:$$3$$  E:$$2$$  请回答其中一个选项.