using System;
public class BaseballGame
{
public static void Main(string[] args)
Console.WriteLine (CalculatePoints(new string[]{"5","1","+","D"}));
}
private static int CalculatePoints(string[] ops)
return 0;
/*
Eingabe: operations = ["5","1","+","D"]
Ausgabe: 24
Begründung:
"5" - Füge 5 Punkte hinzu [5].
"1" - Füge 1 Punkte hinzu [5, 1].
"+" - Füge 5 + 1 = 6 Punkte hinzu [5, 1, 6].
"D" - Füge 6 * 2 = 12 Punkte hinzu [5, 1, 6, 12].
Die Summe aller Punkte ist 5 + 1 + 6 + 12 = 24.
*/