/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication42;

import java.util.Scanner;



/**
 *
 * @author joelx
 */
public class JavaApplication42 {
    public static   Scanner scan = new Scanner(System.in);

    /**
     * @param args the command line arguments
     */
    public static int multi(int a,int b){
        int multi = 1;
        for(int i = 0;i<b;++i){
            multi*=a;
        }
        return multi;
    }
    public static void main(String[] args) {
        System.out.println("combien de nombres volez vous entrez?");
        int x =scan.nextInt();
        int y =scan.nextInt();
        int multi = multi(x,y);
       
        System.out.println(x +"*" +y +" vaut " +multi);
      
       
      
        
        
        // TODO code application logic here
    }
    
}
