import java.util.Arrays; import java.util.Scanner; public class Main{ static class dungeon implements Comparable{ int g,d,id; public dungeon(int x,int y,int z){ this.g=x; this.d=y; this.id=z; } public int compareTo(dungeon o) { return (o.g-o.d*30000)-(this.g-this.d*30000); } } public static void main(String[] args){ Scanner sc=new Scanner(System.in); while(sc.hasNext()){ int n=sc.nextInt(); dungeon[] dg=new dungeon[n]; for(int i=0;i=3000000){ System.out.println("YES"); for(int i=0;i<6;i++) System.out.println(dg[0].id); } else System.out.println("NO"); } } }