import java.util.Scanner; public class Main { static int N; static int list[]; static boolean flag[]; static int target; public static void main(String[] args) { Scanner scan = new Scanner(System.in); N = scan.nextInt(); list = new int[N]; int sum = 0; for(int i=0; i target) return false; if(now == target) { return true; } boolean find = false; for(int i=firstI; i