can someone help me with my computer science assignmen!!!??

basically what you have to do is crack the code and tell me the method you used.

you have to find the number that goes to the letters and the number can be anything from 1-9

1) assume H = 4

W R O N G

+ W R O N G

R I G H T

2) Assume E =1

C R A M

+ C O E

R A C E

3)assume A = 6

S A N T A

- C L A U S

X M A S

4) M is allowed to be zero in this one.

M A R S

B A R S

+ A R E

B E S T