Author's note: This is the revised version because I am human and did not see…