/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

import java.util.stream.* ;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		IntStream
	        .iterate( 30 , fahrenheit -> fahrenheit + 10 )
	        .limit( ( ( 100 - 30 ) / 10 ) + 1 )
	        .asDoubleStream()
	        .map( Ideone :: fahrenheitToCelsius )
	        .forEach( System.out :: println );
	}
	
	public static double fahrenheitToCelsius ( final double fahrenheit )
    {
        double celsius = ( fahrenheit - 32d ) * ( 5d / 9d );
        return celsius;
    }
}