stocks problem and pralindrom problem