@@ -0,0 +1,387 @@
+import java.math.BigInteger;%0Aimport java.util.*;%0A%0Aclass BISHOPS %7B%0A%09public static void main(String%5B%5D args) throws Exception %7B%0A%09%09Scanner sc = new Scanner(System.in);%0A%09%09while(sc.hasNextBigInteger())%0A%09%09%7B%0A%09%09%09BigInteger n = sc.nextBigInteger();%0A%09%09%09if(n.equals(BigInteger.ONE)) System.out.println(1);%0A%09%09%09else System.out.println(n.subtract(BigInteger.ONE).multiply(BigInteger.valueOf(2)));%0A%09%7D%7D%7D%0A

Create bishops.java