mirror of
https://github.com/Dichgrem/Java.git
synced 2025-12-16 12:41:58 -05:00
12 lines
275 B
Java
12 lines
275 B
Java
package com.study.demo;
|
|
|
|
import java.util.Scanner;
|
|
|
|
public class test6 {
|
|
public static void main(String[] args) {
|
|
Scanner scanner = new Scanner(System.in);
|
|
int n = scanner.nextInt();
|
|
int result = 1 << n;
|
|
System.out.println(result);
|
|
}
|
|
} |