import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double x;
//cm to mm
System.out.println("Enter the centimeter");
x = scanner.nextDouble();
System.out.println("The conversion to millimeters is:" + (x*10));
//meter to cm
System.out.println("Enter the meter");
x = scanner.nextDouble();
System.out.println("The conversion to centimeters is:" + (x*100));
//km to meter
System.out.println("Enter the kilometer");
x = scanner.nextDouble();
System.out.println("The conversion to meters is:" + (x*1000));
}
}