using System;class P{static void Main(){Console.Write(new int[]{362880,59049,34}[new Random().Next(3)]);}}