Four problems, solved in Pascal.