Earning While Learning