using System.Text.RegularExpressions;
using System.Collections.Generic;
static long ConvertAridToTrackId(long arid)
return arid <= 99_999_999 ? arid - 13_000_000 : arid - 313_000_000;
static long ConvertTrackIdToArid(long trackId)
return trackId >= 87000000 ? trackId - 87000000 + 400000000 : trackId - 0 + 13000000;
public static void Main()
System.Collections.Generic.List<long> arids = new System.Collections.Generic.List<long>
Console.WriteLine(string.Join(',', arids.Select(ConvertAridToTrackId)));