function twoSum(nums, target) {
for(let i = 0; i < 6; i++) {
for(let j = i + 1; j < 6; j++) {
if(nums[i] + nums[j] == target) {
console.log(i);
console.log(j);
}
}
}
}
const nums = [1, 2, 3, 4, 5, 6];
const target = 11;
console.log(twoSum(nums, target));