PROGRAMMING:Define class template to realize arithmetic operation of two numbers
This topic requires the definition of class template to realize the maximum, minimum, addition, subtraction, multiplication, division and other arithmetic operations of two numbers. In the main() function, the class template is used to instantiate the class of int type and double type, define the related objects, read in two integers and two floating-point numbers, and then output their maximum, minimum, addition, subtraction, multiplication and division results respectively.
###Input format:
Input 2 groups of numbers respectively, the first line is 2 integers separated by spaces; The second line contains 2 floating-point numbers separated by spaces.
###Output format:
The operation results of integer and floating-point numbers are output in two lines, and the maximum, minimum, addition, subtraction, multiplication, division and other arithmetic operations of the two numbers are output in each line.
###Input example:
```in
30 2
2.1 3.2
```
###Output example:
```out
30 2 32 28 60 15
3.2 2.1 5.3 -1.1 6.72 0.65625
```
answer:If there is no answer, please comment
###Input format:
Input 2 groups of numbers respectively, the first line is 2 integers separated by spaces; The second line contains 2 floating-point numbers separated by spaces.
###Output format:
The operation results of integer and floating-point numbers are output in two lines, and the maximum, minimum, addition, subtraction, multiplication, division and other arithmetic operations of the two numbers are output in each line.
###Input example:
```in
30 2
2.1 3.2
```
###Output example:
```out
30 2 32 28 60 15
3.2 2.1 5.3 -1.1 6.72 0.65625
```
answer:If there is no answer, please comment