Number of one-to-one function f: a, b, c, d → 2, 0, 1, 2 to 1, 0, 10 such that 2f(a) - f(b) + 3f(c) - f(d) is equal to zero is

a) 6
b) 12
c) 18
d) 24