Automatically close tags with inconsistent case in the following HTML snippet.
<b><IMG src="image.png">
<b><IMG src="image.png"></IMG></b>
Complete the following task based on the instruction and optional input provided.### Instruction:
Automatically close tags with inconsistent case in the following HTML snippet.

### Input:
<b><IMG src="image.png">

### Output:
<b><IMG src="image.png"></IMG></b>