A random variable X takes the values 0,1 and 2. If P(X=1)=P(X=2) and P(X=0)=0.4, then the mean value of the random variable X is