using System.Collections.Generic;
public static void Main()
List<int> numberList = new List<int>();
List<int> amicableNumbers = new List<int>();
for(int i = 2; i < 10000; i++)
foreach(int a in numberList)
List<int> properDivisorsOfA = new List<int>();
for (int i = 1; i <= a; i++)
properDivisorsOfA.Add(i);
properDivisorsOfA.Remove(a);
foreach(int number in properDivisorsOfA)
List<int> properDivisorsOfB = new List<int>();
for (int i = 1; i <= b; i++)
properDivisorsOfB.Add(i);
properDivisorsOfB.Remove(b);
foreach(int number in properDivisorsOfB)
if (da == b && db == a && a!=b)
foreach (int number in amicableNumbers)
finalAnswer = finalAnswer/2;
Console.WriteLine(finalAnswer);