Problem2214--Template function

2214: Template function

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 181  Solved: 56
[Submit] [Status] [Web Board] [Creator:]

Description

There are three absolute value functions defined in various header files. These are abs, fabs, and labs. Write a template function that subsumes all three of these functions into one template function.

Input

Given 3 numbers.

Output

Output the absolute value of the first number, the second number itself and its absolute value, and the absolute value of the third number.

Sample Input Copy

-1,1,1

Sample Output Copy

1,1,1,1

Source/Category

28