Add spoj 511, first try with C#