[Source](https://www.hackerrank.com/challenges/time-conversion)
# Problem statement
Given a time in [![](./Resources/Element1.svg)-hour AM/PM format](https://en.wikipedia.org/wiki/12-hour_clock), convert it to military (24-hour) time.  

Note: Midnight is 12:00:00AM on a 12-hour clock, and 00:00:00 on a 24-hour clock. Noon is 12:00:00PM on a 12-hour clock, and 12:00:00 on a 24-hour clock. 


**Function Description**  

Complete the timeConversion function in the editor below.  It should return a new string representing the input time in 24 hour format.  

timeConversion has the following parameter(s):


* s: a string representing time in ![](./Resources/Element1.svg) hour format  

**Input Format**

A single string ![](./Resources/Element2.svg) containing a time in ![](./Resources/Element1.svg)-hour clock format (i.e.: ![](./Resources/Element3.svg) or ![](./Resources/Element4.svg)), where ![](./Resources/Element5.svg) and ![](./Resources/Element6.svg).


**Constraints**


* All input times are valid

**Output Format**

Convert and print the given time in ![](./Resources/Element7.svg)-hour format, where ![](./Resources/Element8.svg).


**Sample Input 0**

```
07:05:45PM
```

**Sample Output 0**

```
19:05:45
```
