eolymp
bolt
Try our new interface for solving problems
Problems

Function tabulation

Function tabulation

Time limit 1 second
Memory limit 128 MiB

Write a program that prints the values of a function y = 3 · sin(x) on segment from a to b inclusively with step h.

Input data

Three double values a, b and h are given in one line.

Output data

Print in each line two numbers x and y, ascending x with three decimal digits.

Examples

Input example #1
1 2 0.5
Output example #1
1.000 2.524
1.500 2.992
2.000 2.728