program pil_3_28_j(input,output);
var
  number : integer;
	result : integer;
begin
	write('Input the number : ');
  read(number);
  result := number mod 10;
  number := number div 10;
  result := result * 10 + (number mod 10);
  number := number div 10;
  result := result * 10 + (number mod 10);
  writeLn('Multiplication is ', result:1);
end.