package com.javarush.task.task04.task0428;

/*
Положительное число
*/

import java.io.*;

public class Solution {
    static int pozitive;

    public static void main(String[] args) throws Exception {
        //напишите тут ваш код
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));

        setPoz(Integer.parseInt(r.readLine()));
        setPoz(Integer.parseInt(r.readLine()));
        setPoz(Integer.parseInt(r.readLine()));
        System.out.println(getPoz());
    }

    public static int getPoz() {
        return pozitive;
    }

    public static void setPoz(int a) {
        if (a > 0) pozitive++;
    }
}