Teen recovers after losing foot from train