using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using System.IO; using System.Numerics; // 参照 class _Class { void _Do() { var N = Split.longs()[0]; long sum = 0; for (long jump=1;;jump++) { sum += jump; if (N == sum) { Console.WriteLine("YES"); Console.WriteLine(jump); return; } else if (N