What is the out put for:

Input Output
4 0
5 2
6 4
7 6
12 ?
explain the rule please