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: 03/11/1954, input_format=mm/dd/yyyy

Answer: 11/03/1954


Question: 10/01/1676, input_format=mm/dd/yyyy

Answer: 01/10/1676


Question: 03/26/1836, input_format=mm/dd/yyyy

Answer:
26/03/1836