import java.util.Arrays;
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc =new Scanner(System.in);
		int count = 0;
		int T = sc.nextInt();
		int[]Arr = new int[T];
		for(int i =0; i<T; i++) {
			Arr[i] = sc.nextInt();
			
		}
		
		for(int i =0; i<T; i++) {
			boolean LOL = true;
			for(int j =0; j<i; j++) {
				if(Arr[j] >Arr[i]) {
					LOL = false;
					break;
				}
				
			}
			if(LOL) {
				count++;
			}
		}
		System.out.println(count);
		
	}

} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc =new Scanner(System.in);
		int count = 0;
		int T = sc.nextInt();
		int[]Arr = new int[T];
		for(int i =0; i<T; i++) {
			Arr[i] = sc.nextInt();
			
		}
		
		for(int i =0; i<T; i++) {
			boolean LOL = true;
			for(int j =0; j<i; j++) {
				if(Arr[j] >Arr[i]) {
					LOL = false;
					break;
				}
				
			}
			if(LOL) {
				count++;
			}
		}
		System.out.println(count);
		
	}

} Main public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc =new Scanner(System.in);
		int count = 0;
		int T = sc.nextInt();
		int[]Arr = new int[T];
		for(int i =0; i<T; i++) {
			Arr[i] = sc.nextInt();
			
		}
		
		for(int i =0; i<T; i++) {
			boolean LOL = true;
			for(int j =0; j<i; j++) {
				if(Arr[j] >Arr[i]) {
					LOL = false;
					break;
				}
				
			}
			if(LOL) {
				count++;
			}
		}
		System.out.println(count);
		
	} main {
		// TODO Auto-generated method stub
		Scanner sc =new Scanner(System.in);
		int count = 0;
		int T = sc.nextInt();
		int[]Arr = new int[T];
		for(int i =0; i<T; i++) {
			Arr[i] = sc.nextInt();
			
		}
		
		for(int i =0; i<T; i++) {
			boolean LOL = true;
			for(int j =0; j<i; j++) {
				if(Arr[j] >Arr[i]) {
					LOL = false;
					break;
				}
				
			}
			if(LOL) {
				count++;
			}
		}
		System.out.println(count);
		
	} Scanner sc =new Scanner(System.in); sc new Scanner(System.in) int count = 0; count 0 int T = sc.nextInt(); T sc.nextInt() sc.nextInt sc int[]Arr = new int[T]; Arr new int[T] T for(int i =0; i<T; i++) {
			Arr[i] = sc.nextInt();
			
		} int i =0; int i =0; i 0 i<T i T i++ i++ i {
			Arr[i] = sc.nextInt();
			
		} {
			Arr[i] = sc.nextInt();
			
		} Arr[i] = sc.nextInt() Arr[i] Arr i sc.nextInt() sc.nextInt sc for(int i =0; i<T; i++) {
			boolean LOL = true;
			for(int j =0; j<i; j++) {
				if(Arr[j] >Arr[i]) {
					LOL = false;
					break;
				}
				
			}
			if(LOL) {
				count++;
			}
		} int i =0; int i =0; i 0 i<T i T i++ i++ i {
			boolean LOL = true;
			for(int j =0; j<i; j++) {
				if(Arr[j] >Arr[i]) {
					LOL = false;
					break;
				}
				
			}
			if(LOL) {
				count++;
			}
		} {
			boolean LOL = true;
			for(int j =0; j<i; j++) {
				if(Arr[j] >Arr[i]) {
					LOL = false;
					break;
				}
				
			}
			if(LOL) {
				count++;
			}
		} boolean LOL = true; LOL true for(int j =0; j<i; j++) {
				if(Arr[j] >Arr[i]) {
					LOL = false;
					break;
				}
				
			} int j =0; int j =0; j 0 j<i j i j++ j++ j {
				if(Arr[j] >Arr[i]) {
					LOL = false;
					break;
				}
				
			} {
				if(Arr[j] >Arr[i]) {
					LOL = false;
					break;
				}
				
			} if(Arr[j] >Arr[i]) {
					LOL = false;
					break;
				} Arr[j] >Arr[i] Arr[j] Arr j Arr[i] Arr i {
					LOL = false;
					break;
				} LOL = false LOL false break; if(LOL) {
				count++;
			} LOL {
				count++;
			} count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc =new Scanner(System.in);
		int count = 0;
		int T = sc.nextInt();
		int[]Arr = new int[T];
		for(int i =0; i<T; i++) {
			Arr[i] = sc.nextInt();
			
		}
		
		for(int i =0; i<T; i++) {
			boolean LOL = true;
			for(int j =0; j<i; j++) {
				if(Arr[j] >Arr[i]) {
					LOL = false;
					break;
				}
				
			}
			if(LOL) {
				count++;
			}
		}
		System.out.println(count);
		
	}

} public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc =new Scanner(System.in);
		int count = 0;
		int T = sc.nextInt();
		int[]Arr = new int[T];
		for(int i =0; i<T; i++) {
			Arr[i] = sc.nextInt();
			
		}
		
		for(int i =0; i<T; i++) {
			boolean LOL = true;
			for(int j =0; j<i; j++) {
				if(Arr[j] >Arr[i]) {
					LOL = false;
					break;
				}
				
			}
			if(LOL) {
				count++;
			}
		}
		System.out.println(count);
		
	}

} Main
import java.util.Arrays;
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc =new Scanner(System.in);
		int count = 0;
		int T = sc.nextInt();
		int[]Arr = new int[T];
		for(int i =0; i<T; i++) {
			Arr[i] = sc.nextInt();
			
		}
		
		for(int i =0; i<T; i++) {
			boolean LOL = true;
			for(int j =0; j<i; j++) {
				if(Arr[j] >Arr[i]) {
					LOL = false;
					break;
				}
				
			}
			if(LOL) {
				count++;
			}
		}
		System.out.println(count);
		
	}

}
