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

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

import java.math.BigDecimal ;

/* 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
	{
		double x = 0.1 * 0.1 * 10 ;
        System.out.println( x ) ;

        BigDecimal y = new BigDecimal( "0.10" ).multiply( new BigDecimal ( "0.10" ) ).multiply( new BigDecimal ( "10" ) ) ;
        System.out.println( y ) ;


	}
}