Another option for calculating year and semestermarks