The patients were randomized to either ranitidine bismuth citrate 400 mg bid plus amoxicillin 1 g bid plus clarithromycin 500 mg bid ( n = 149 ) or lansoprazole 30 mg bid plus amoxicillin 1 g bid plus clarithromycin 500 mg bid ( n = 130 ) treatment arm for 14 days .