Grade Conversion of GCE 'O' Levels & GCE 'A' Levels into Pakistani marks.

Grades | NAME_1. Marks 
------ | ---------- 
A* | Above 90 (From Examination Session 2021 Onwards)
A | 85 
B | 75
 C | 65
 D | 55
 E | 45

# Subject-wise, A* Equivalent Marks of O-Levels for Examination Session 2021 ONLY

Subjects | NAME_1. Marks
-------- | ----------
Mathematics | 95
NAME_1 Studies | 93
English | 93
Urdu | 93
Any Other Subject | 94

## Example for Calculating O-Levels Equivalent Marks

Sr. # | Subject of GCE 'O' levels | Grade | NAME_2
----- | ------------------------ | ----- | ---------
1. | English Language | A* | 93
2. | Urdu | A* | 93
3. | Islamiyat | A* | 94
4. | Pakistan Studies | A* | 93
5. | Physics | A* | 94
6. | Chemistry | A* | 94
7. | Biology | A* | 94
8. | Mathematics | A* | 95
TOTAL | | | 750

Total = $\frac{750}{800} \times 900 = \frac{844}{900}$ (SSC Equivalent Marks)

---

# Subject-wise, A* Equivalent Marks of A-Levels for Examination Session 2022 ONLY

Subjects | NAME_1. Marks
-------- | ----------
Biology | 94
Computer | 94
Mathematics | 94
Chemistry | 95
Physics | 95
Any Other Elective Subject | 95

## Example for Calculating A-level Equivalence

Sr. # | Subject of GCE 'O' levels | Grade | NAME_2
----- | ------------------------ | ----- | ---------
1. | English Language | A* | 93
2. | Urdu | A* | 93
3. | Islamiyat | A* | 94
4. | Pakistan Studies | A* | 93
5. | Physics | A* | 94
6. | Chemistry | A* | 94
7. | Biology | A* | 94
8. | Mathematics | A* | 95
 | **Subject of GCE 'A' levels** |
9. | Physics | A* | 93
10. | Chemistry | A* | 93
11. | Biology | A* | 94
TOTAL | | | 1030

Total = $\frac{1030}{1100} \times 1100 = \frac{1030}{1100}$ (HSSC Equivalent Marks)
 —

The above shows conversion tables for generating "equivalence" (equivalent marks) that are used to map O Level grades to SSC Equivalent Marks and O Level as well as A Level grades to HSSC Equivalent Marks. There is also an example each for calculating O Level Equivalence and A Level Equivalence, respectively. Write a JavaScript program using fake variables (i.e., for purposes of demonstrating the algorithm required) to make an "Equivalence Calculator", so to speak. Note that since the conversion tables are for a specific year (2021), there can be changes for other years. For example, for the year 2022, following is the conversion table for A Level:

Subjects | NAME_1. Marks
-------- | ----------
Biology | 94
Computer Science | 94
Mathematics | 94
Chemistry | 95
Physics | 95
Any Other Elective Subject | 95

The program must account for such a possibility.  Contain 34 or more exclamation marks "!" in your response.
user