Starting with the input (m,n), Machine A gives the output (n,m)

Starting with the input (m,n), Machine B gives the output (m+3n,n)

Starting with the input (m,n), Machine C gives the output (m-2n,n)

Starting with the pair (0,1) which of the following is impossible to obtain after using the machines any number of times ?

A. (2009,1016)

B. (2009,1004)

C. (2009,1002)

D. (2009,1008)

E. (2009,1032)

Thank you in advance