"use strict";
const Main = (input) =>{
    let xs = input.trim().split('\n');
    let nums = xs[1].trim().split(' ').map(v=>parseInt(v,10));
    let count = 1;
    for(let i =0; i<xs[0]; i++){
        if(nums[0]<=nums[i+1]){
        count++
        }else{
        count += 0
        }
    }
    console.log(count);




}
Main(require('fs').readFileSync('/dev/stdin','utf8'));