Write-up for Chal7 of Flareon4. This may not be a good solution, but that’s the method how I found the final…