import java.io.PrintStream;
import java.util.Arrays;
import java.util.Scanner;

/**
 * Solution to Call for Problems
 * 
 * @author vanb
 */
public class call_vanb
{
    /** Input. */
    private static Scanner sc;
    
    /** Output. */
    private static PrintStream ps;
    
    /**
     * Do it!
     */
    private void doit()
    {
        int n = sc.nextInt();
        int count = 0;
        while( n-->0 )
        {
            // This is simple, just count odd numbers (%2==1)
            if( sc.nextInt()%2==1 ) ++count;
        }
        
        ps.println( count );
    }
        
    /**
     * Main.
     * 
     * @param args unused
     * @throws Exception
     */
    public static void main( String[] args ) throws Exception
    {
        sc = new Scanner( System.in );
        ps = System.out;
        
        new call_vanb().doit();
    }

}
