package com.javarush.task.task04.task0428; /* Положительное число */ import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) throws Exception { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int c = scanner.nextInt(); int count = 0; if (a > 0) count++; else if (b > 0) count++; else if (c > 0){ count++; System.out.println(count); } else if (count == 0) System.out.println("0"); } }