using System;
public class Program
{
public static void Main()
int k;
Console.WriteLine("A 3 csúnya szám! Engedd, hogy kivonjam őket a számaidból!");
k = Convert.ToInt32(Console.ReadLine());
if (k % 3 == 1)
k = k - 1;
k = k / 3;
Console.WriteLine(k+ "* 3 + 1");
}
else if (k % 3 == 2)
k = k - 2;
Console.WriteLine(k +"* 3 + 2");
else if (k % 3 == 0)
k = k/3;
Console.WriteLine(k+ " * 3");