The given items: 5, 2, 7, 10, and 3 are pushed in a empty stack "S" one after another. Now pop operation is performed on "S" 3 times and each item is inserted in a Queue "Q". Then 1 item is deleted from "Q" and pushed back on "S". The sum of items of stack "S" is _____ .
1
10
2
12
3
8
4
9