Jack took 4 more candies than the half, and Paul took the rest, which means 7 + 4 = 11 candies were half of all candies.
That means at first there were 11 * 2 = <<11*2=22>>22 candies.
#### 22