Answer:
7 chocolates
Explanation:
Let the total number of chocolates be 10x.
Gianna gets 3x chocolates and Vitali gets 7x chocolates.
Since Gianna gets 12 chocolates less than Vitali, we have:

Vitali has 7x = 7 × 3 = 21 chocolates.
After eating two-thirds of his share, Vitali has:

Therefore, Vitali now has 7 chocolates.