Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

RGB7014 - Цаг, минут, секунд -> секунд

Өгөгдсөн цаг, минут, секундыг секунд рүү шилжүүл.

Input

Цаг, минут, секунд зайгаар тусгаарлагдан нэг мөрөнд Int төрлөөр өгөгдөнө.

Output

Секунд гарна.

Example

Input:
1 2 3
Output:
3723

Added by:Bataa
Date:2011-05-15
Time limit:0.5s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:NCSHARP C++ 4.3.2 CPP CPP14 JULIA PYPY3

© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.