/**
 * Merlin class which multiples two integers in [100, 109]
 * Students may assume that the user input is in the proper range.
 * No marks should be deducted based on aesthetics of the program as 
 * students are starting to become familiarized with such concepts.
 * The purpose of this exercise was to familiarize students with arithmetic operators and expressions
 * */

import java.util.Scanner;

public class Merlin
{
 public static void main(String[] args)
 {
   int firstValue, secondValue, product;
   Scanner scan = new Scanner(System.in);
   
   System.out.println("Welcome to the Merlin Program!");
   
   System.out.println("Please enter your first value: ");
   firstValue = scan.nextInt();
   
   System.out.println("Please enter your second value: ");
   secondValue = scan.nextInt();
   
   product = 1 * 10000 + (firstValue % 100 + secondValue % 100)*100 + (firstValue % 100 * secondValue % 100);
   System.out.println(firstValue + " X " + secondValue + " = " + product);
   
     
     
   
 }
  
  
}