using System;
using System.Collections.Generic;
using System.Linq;

class Progaram
{
    static void Main(string[] args)
    {
        var l = Console.ReadLine().Split(' ');
        if (l[0] == "0" || l[0] == "-0")
        {
            Console.WriteLine(l[1]);
        } 
        else if (double.Parse(l[1]) < 0)
        {
            Console.WriteLine(l.Select(x => double.Parse(x)).Sum());
        }
        else
        {
            Console.WriteLine(l[0] + l[1]);
        }
    }
}