In this task, you are given a date in a particular format and you need to convert to another format. If given format is "dd/mm/yyyy" then convert to "mm/dd/yyyy". If given format is "mm/dd/yyyy" then convert to "dd/mm/yyyy".
--------
Question: 06/19/1888, input_format=mm/dd/yyyy

Answer: 19/06/1888


Question: 05/23/1758, input_format=mm/dd/yyyy

Answer: 23/05/1758


Question: 10/30/2004, input_format=mm/dd/yyyy

Answer:
30/10/2004