Program written as answer-book for mathematics