Upgrade subject to access all content

Consider the probability distribution of $X$ given below, where $0 < p < 1$:

What is the expected value of $X$?

$p$

$1-p$

$p-1$

$1$

$0$