using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Text; using System.Text.RegularExpressions; using System.Linq; class Magatro { static void Main() { string S = Console.ReadLine(); S = S.Replace("--", "+"); S = S.Replace("+-", "-"); int[] a = new int[2]; int c = 0; string SS = ""; for(int i =0; i