変数名の変更
i => left
j => right