Committing mistakes is quite common when a person is involved in a sort of earning option. So here if we…