using System; class Task { public static void Main (string[] args) { int a, b, h; a = Int32.Parse(Console.ReadLine()); b = Int32.Parse(Console.ReadLine()); h = Int32.Parse(Console.ReadLine()); for(var x = a; x <= b; x += h) { double y; if(x == 1 || x == -1) y = 1; else if(x >= 0) y = -1.0 / (1.0 - x); else y = 1.0 / (1.0 + x); Console.WriteLine($"x = {x}\ty = {y}"); } } }