public static void Main()
Console.WriteLine("Enter to which number you will check the factors of");
int fact = int.Parse(Console.ReadLine());
for(int i=2;i<=(fact);i++)
outp = outp.Remove(outp.Length-1,1);
Console.WriteLine(outp + " are the factors of " + i);