Problem: It was the third month of remote learning, Nastya got sick of staying at dormitory, so she decided to return to her hometown. In order to make her trip more entertaining, one of Nastya's friend presented her an integer array a. 

Several hours after starting her journey home Nastya remembered about the present. To entertain herself she decided to check, are there four different indices x, y, z, w such that a_x + a_y = a_z + a_w.

Her train has already arrived the destination, but she still hasn't found the answer. Can you help her unravel the mystery?

Input

The first line contains the single integer n (4 ≤ n ≤ 200 000) — the size of the array.

The second line contains n integers a_1, a_2, …, a_n (1 ≤ a_i ≤ 2.5 ⋅ 10^6).

Output

Print "YES" if there are such four indices, and "NO" otherwise.

If such indices exist, print these indices x, y, z and w (1 ≤ x, y, z, w ≤ n).

If there are multiple answers, print any of them.

Examples

Input


6
2 1 5 2 7 4


Output


YES
2 3 1 6 

Input


5
1 3 1 9 20


Output


NO

Note

In the first example a_2 + a_3 = 1 + 5 = 2 + 4 = a_1 + a_6. Note that there are other answer, for example, 2 3 4 6.

In the second example, we can't choose four indices. The answer 1 2 2 3 is wrong, because indices should be different, despite that a_1 + a_2 = 1 + 3 = 3 + 1 = a_2 + a_3

Solution (in JAVA):

Solution:


//@author->.....future_me......//

//..............Learning.........//

/*Compete against yourself*/

import java.util.*;
import java.io.*;
import java.lang.*;
import java.math.BigInteger;

public class A {

	static FastReader		sc	= new FastReader();
	static PrintWriter	out	= new PrintWriter(System.out);

	public static void main(String[] args) throws Exception {
//		try {
//
//		int t = sc.nextInt();
//		while (t-- > 0)
			A.go();
		out.flush();
//		} catch (Exception e) {
//			return;
//		}
	}

	static int							count	= 0;
	static HashSet<Integer>	set		= new HashSet<Integer>();

//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Code Starts <<<<<<<<<<<<<<<<<<<<<<<<<<<<< //

	static void go() {
		int n=sc.nextInt();
		int a[]=new int[n];
		HashMap<Integer,ArrayList<Integer>>map=new HashMap<>();
		for(int i=0;i<n;i++) {
			a[i]=sc.nextInt();
			if(map.containsKey(a[i])) {
			ArrayList<Integer> aa=map.get(a[i]);
			aa.add(i);
			map.put(a[i],aa);
			}else {
				ArrayList<Integer> aa=new ArrayList<>();
				aa.add(i);
				map.put(a[i],aa);
			}
		}
		ArrayList<Integer> aa1=new ArrayList<Integer>();
		ArrayList<Integer> aa2=new ArrayList<Integer>();
		int xx=0;
		int c=0;
		boolean f=false;
		boolean ff=false;
		for(int i:map.keySet()) {
			if(map.get(i).size()>=2) {
				if(c==0) {
				aa1=map.get(i);
				f=true;
				c++;
				}else if(c==1) {
					aa2=map.get(i);
					c++;
				}
}
			if(c==2) {
				out.println("YES");
				out.println((aa1.get(0)+1)+" "+(1+aa2.get(0))+" "+(1+aa1.get(1))+" "+(1+aa2.get(1)));
				return;
			}
			if(map.get(i).size()>=4) {
				out.println("YES");
				for(int j=0;j<map.get(i).size()&&j<4;j++) {
					out.print((map.get(i).get(j)+1)+" ");
}
				out.println();
				return;
			}
		}
		HashMap<Integer,time>map1=new HashMap<>();
		for(int i=0;i<4;i++) {
			for(int j=i+1;j<n;j++) {
				if(map1.containsKey(a[i]+a[j])==false) {
				map1.put(a[i]+a[j], new time(i,j));
				}else {
					
					time xx1=map1.get(a[i]+a[j]);
					if(xx1.a==i||xx1.d==j||xx1.a==j||xx1.d==i) {
						continue;
					}else {
						out.println("YES");
						out.println((xx1.a+1)+" "+(xx1.d+1)+" "+(i+1)+" "+(j+1));
						return;
					}
				}
			}
		}
		sort(a);
		map1.clear();
		for(int i=0;i<Math.max(4, n/2);i++) {
			for(int j=i+1;j<n;j++) {
				if(map1.containsKey(a[i]+a[j])==false) {
				map1.put(a[i]+a[j], new time(i,j));
				}else {
					
					time xx1=map1.get(a[i]+a[j]);
					if(xx1.a==i||xx1.d==j||xx1.a==j||xx1.d==i) {
						continue;
					}else {
						out.println("YES");
						out.println((map.get(a[xx1.a]).get(0)+1)+" "+(map.get(a[xx1.d]).get(0)+1)+" "+(map.get(a[i]).get(0)+1)+" "+(map.get(a[j]).get(0)+1));
						return;
					}
				}
			}
		}
		out.println("NO");
		
	}
	

//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Code Ends <<<<<<<<<<<<<<<<<<<<<<<<<<<<< //

	static BigInteger gcd(BigInteger a, BigInteger b) {
		if (b.equals(BigInteger.ZERO)) {
			return a;
		}return gcd(b, a.mod(b));
	}
	static int	prime[]	= new int[200005];
	static int	N				= 200005;
	static void sieve() {
	
		for(int i=0;i<N;i++) {
			prime[i]=i;
}
		for (int i = 2; i * i <= N; i++) {
			if (prime[i] == i) {
				prime[i]=i;
				for (int j = i; j < N; j += i) {
					prime[j] =i;
				}}}
	}


	static int gcd(int a, int b) {
		if (b == 0) {
			return a;
		}return gcd(b, a % b);
	}
	 static void sort(int[] a) {
		ArrayList<Integer> aa = new ArrayList<>();
		for (Integer i : a) {
			aa.add(i);	}
		Collections.sort(aa);
		for (int i = 0; i < a.length; i++)
			a[i] = aa.get(i);}
	static void sort(long[] a) {
		ArrayList<Long> aa = new ArrayList<>();
		for (Long i : a) {
			aa.add(i);}
		Collections.sort(aa);
		for (int i = 0; i < a.length; i++)
			a[i] = aa.get(i);
	}

	static int mod = (int) 1e9 + 7;

	static long pow(long x, long y) {
		long res = 1l;
		while (y != 0) {
			if (y % 2 == 1) {
				res = (x * res);
				}	y /= 2;x = (x * x);
		}
		return res;
	}


//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Fast IO <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< //

	static class FastReader {
		BufferedReader	br;
		StringTokenizer	st;
		public FastReader() {
			br = new BufferedReader(new InputStreamReader(System.in));
		}		String next() {
			while (st == null || !st.hasMoreElements()) {
				try {
					st = new StringTokenizer(br.readLine());
				} catch (IOException e) {
					e.printStackTrace();
				}		}	return st.nextToken();
		}	int nextInt() {
			return Integer.parseInt(next());
		}	long nextLong() {
			return Long.parseLong(next());
		}	double nextDouble() {
			return Double.parseDouble(next());
		}		String nextLine() {
			String str = "";
			try {
				str = br.readLine();
			} catch (IOException e) {
				e.printStackTrace();
			}
			return str;
		}	}}

class time{
	int a;int d;
	time(int a,int d ){
		this.a=a;this.d=d;
	}

}