5.7 hemi idle and backfire

ok i have located the o2 sensors and i only have the upstream ones on each exhaust so im going to replace both