I wrote quite a nice quick code:
using System; using System.Globalization; namespace OneProgram { class Program { static void Main(string[] args) { double num = double.Parse(Console.ReadLine()); Console.WriteLine(num.ToString("N0", new CultureInfo("en-us"))); } } } Everything would be fine, but if you enter a number that is larger than UInt64 (in the condition the number is not more than 10 ^ 100), it turns out 
Can this be overcome without cycles, etc.?
Here is the whole task: http://informatics.mccme.ru/moodle/mod/statements/view.php?chapterid=1599
BigInteger- Andrew NOPUInt64.Max! BigInteger can represent any number. - Andrey NOP