using System;
public class Program
{
public static void Main()
///ricardo villalobos
///Write a program to print the resulto of the following equation,
///considering that instead of printing the value,
///Print n number of characters per line. Use a range for 0 to 30
int x=0;
Console.WriteLine("Enter the value of x between 0-30");
x=Convert.ToInt32(Console.ReadLine());
double r=(double)(x)*Math.Sin(x)+x+2;
Console.WriteLine("{0}",r);
Console.WriteLine("");
}