import java.util.ArrayList;
public class Solution {
public ArrayList[HTML_REMOVED] FindNumbersWithSum(int [] array,int sum) {
ArrayList<Integer> list=new ArrayList();
int len=array.length;
int break1=0;
for(int i=0;i<len;i++){
if(break1==1){
break;
}
for(int j=i+1;j<len;j++){
if(array[i]==sum-array[j]){
list.add(array[i]);
list.add(array[j]);
break1=1;
break;
}
}
}
return list;
}
}