Four friends Amrita, Deepa, Smita and Rhea complete their PhD in different number of years. The one who took maximum tie took eight years to complete her PhD while the one who took the least tie took only three years to complete it. Rhea took more time only than Amrita and completed her PhD in five years. Smita did not take longer time than Deepa to complete her PhD.
How many years did Smita take to complete her PhD?