Each of the distinct letters in the following subtraction problem represents a different digit. Find the number represented by the word [b]TEAM[/b]

[size=150][b]
  PURPLE
- COMET
________
[color=#FFFFFF].....[/color]TEAM [/b][/size]

Let's think step by step and output the final answer within \boxed{}.
user