The input has six lines, each holding one integer.
The first line holds the physics score A.
The second line holds the chemistry score B.
The third line holds the biology score C.
The fourth line holds the earth science score D.
The fifth line holds the history score E.
The sixth line holds the geography score F.
Every one of A, B, C, D, E and F is an integer between 0 and 100, inclusive.