Stock problem
Added an old solution