/**
* Note: The returned array must be malloced, assume caller calls free().
*/
int* findNumbersWithSum(int* nums, int numsSize, int target) {
for(int i = 0;i<numsSize;i++){
for(int j = i+1;j<numsSize;j++){
if(nums[i]+nums[j] == target){
printf("%d %d",nums[i],nums[j]);
break;
}
}
}
}