﻿//Description

//Write a program that shows the sign(+, - or 0) of the product of three real numbers, without calculating it.

//Use a sequence of if operators.

namespace _04.MultiplicationSign
{
    using System;

    class MultiplicationSign
    {
        static void Main()
        {
            double a = double.Parse(Console.ReadLine());
            double b = double.Parse(Console.ReadLine());
            double c = double.Parse(Console.ReadLine());

            int counter = 0;

            if (a == 0 || b == 0 || c == 0)
            {
                Console.WriteLine(0);
            }
            else
            {
                if (a < 0)
                {
                    counter++;
                }
                if (b < 0)
                {
                    counter++;
                }
                if (c < 0)
                {
                    counter++;
                }

                if(counter %2 ==0)
                {
                    Console.WriteLine("+");
                }
                else
                {
                    Console.WriteLine("-");
                }
            }
        }
    }
}
