instruction:
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:
10/10/1889, input_format=mm/dd/yyyy
answer:
10/10/1889


question:
12/05/1867, input_format=mm/dd/yyyy
answer:
05/12/1867


question:
16/05/1615, input_format=dd/mm/yyyy
answer:

05/16/1615


