using System.Text.RegularExpressions;
public static void Main()
using (var reader = new StringReader(str))
var regEx = new Regex(@"\d+");
while ((line = reader.ReadLine()) != null)
var sides = regEx.Matches(line);
var a = int.Parse(sides[0].Value);
var b = int.Parse(sides[1].Value);
var c = int.Parse(sides[2].Value);
Console.WriteLine("a: " + a + " b: " + b + " c: " + c);
if (a + b > c && a + c > b && b + c > a)
Console.Write("Possible: " + count);