int main()
{
    int n, pos = 0, neg = 0;
    char a;
    while ((a = scanf("%d", &n)) != -1)
    {
        if (n > 0)
        {
            pos++;
        }
        if (n < 0)
        {
            neg++;
        }
    }
    printf("positive:%d\nnegative:%d", pos, neg);
    return 0;
}