import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(),g,d,m=0,t=0; for(int i=0;im){ m=g-30000*d; t=i+1; } } sc.close(); if(3000000>m*6)System.out.print("NO"); else{ System.out.println("YES"); for(int i=0;i<6;++i)System.out.println(t); } } }