using System;
namespace Problem
{
class Program
static void Main(string[] args)
double N = Convert.ToDouble(Console.ReadLine());
double i = 1, res = 0;
while(i <= N)
res += i / N;
++i;
}
Console.WriteLine("answer: " + res);
using System;
namespace Problem
{
class Program
{
static void Main(string[] args)
{
double N = Convert.ToDouble(Console.ReadLine());
double i = 1, res = 0;
while(i <= N)
{
res += i / N;
++i;
}
Console.WriteLine("answer: " + res);
}
}
}