public static int [] getLargeNums(int val, int [] nums) {
		int count = 0;
		
		for (int i = 0; i < nums.length; i ++) {
			if (nums[i] > val) {
				count ++;
			}
		}
		
		int [] largeNums = new int[count];
		
		int largeIndex = 0;
		for (int index = 0; index < nums.length; index++) {
            if (nums[index] > val) {
                largeNums[largeIndex] = nums[index];
                largeIndex ++;
            }
		}
		
		return largeNums;
		
	}