using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace hello_world
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(OddOrEven(Convert.ToInt32(Console.ReadLine())));
}
static string OddOrEven(int n)
{
if (n == 0)
{
return "오류";
}
else if (n % 2 == 0)
{
return "짝수";
}
else
{
return "홀수";
}
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace hello_world
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(JumpRope(Convert.ToInt32(Console.ReadLine())));
}
static int JumpRope(int n)
{
int check = 0;
for(int i=0; i<n; i++)
{
Console.Write("줄넘기를 했습니다. ");
if ((i + 1) % 2 == 0)
{
check++;
Console.WriteLine(check);
}
else
{
Console.WriteLine();
}
}
return check;
}
}
}