using System;
using System.Linq;
public class Test
{
public static void Main()
{
var array = new short[] {4, 4, 5, 6};
var sum = array.Select(x=> (int)x).Sum();
System.Console.WriteLine(sum);
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uTGlucTsKCnB1YmxpYyBjbGFzcyBUZXN0CnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBNYWluKCkKCXsKCQkgICAgIHZhciBhcnJheSA9IG5ldyBzaG9ydFtdIHs0LCA0LCA1LCA2fTsKICAgICAgICAgICAgICAgICAgICAgdmFyIHN1bSA9IGFycmF5LlNlbGVjdCh4PT4gKGludCl4KS5TdW0oKTsKICAgICAgICAgICAgICAgICAgICAgU3lzdGVtLkNvbnNvbGUuV3JpdGVMaW5lKHN1bSk7Cgl9Cn0=