This table is given I want to achieve the results as shown in result table, marks should not be hard coded