using System;
static int[] getSumNums(int[] nums, int target)
{
Array.Sort(nums);
for(int i = 0; i < nums.Length; i++)
for(int j = 0;j < nums.Length; j++)
if(nums[i] + nums[j] == target)
return new[] { i, j };
}