using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ForLoop2
{
class Program
{
static void Main(string[] args)
{
/*1
2
3
4
5
6 7 8 9 10*/
for(int i=1;i<=10;i++)
{
if (i <= 5)
Console.WriteLine(i);
else
Console.Write(i + " ");
}
Console.ReadLine();
}
}
}