Three Integer Expressions


Submit solution

Points: 100
Time limit: 2.0s
Memory limit: 256M

Author:
Problem types

Given integers \(x,y,z,t\), print them in the required order, their sum, and the product \(xyzt\).

Input

One line containing \(x,y,z,t\).

The input satisfies:

  • \(1 <= x, y, z, t <= 10^9\)

Output

Line 1 prints y,x,z,t with commas. Line 2 prints \(x+y+z+t\). Line 3 prints \(xyzt\).

Example

Input
93 9 93 98
Output
9,93,93,98
293
9198

Comments

There are no comments at the moment.