public static void Main()
Console.WriteLine("Input Number");
int number = int.Parse(Console.ReadLine());
Input takeinput = new Input();
Collatzfunc compute = new Collatzfunc();
compute.printCollatz(number);
class Collatzfunc : absfunc
public int num { get; set; }
public void printCollatz(int n)