using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DongulerFor4
{
class Program
{
static void Main(string[] args)
{
//bool yazildiMi = false;
//for (int i = 59; yazildiMi==false; i--)
//{
// if (i % 3 == 0)
// {
// Console.Write(i);
// yazildiMi = true;
// }
//}
//bool yazildiMi = false;
//for (int i = 59; i > 0; i--)
//{
// if (i % 3 == 0 && yazildiMi==false)
// {
// Console.Write(i);
// yazildiMi = true;
// }
//}
for (int i = 59; i > 0; i--)
{
if (i % 3 == 0)
{
Console.Write(i);
break;//içinde bulunduğun ilk döngüden dışarı cık
}
}
Console.ReadKey();
}
}
}