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".

[EX Q]: 25/06/1626, input_format=dd/mm/yyyy
[EX A]: 06/25/1626

[EX Q]: 02/02/1621, input_format=dd/mm/yyyy
[EX A]: 02/02/1621

[EX Q]: 04/05/1894, input_format=mm/dd/yyyy
[EX A]:
05/04/1894