@@ -0,0 +1,450 @@
+import java.io.*;%0Aimport java.util.*;%0Aimport java.text.*;%0Aimport java.math.*;%0Aimport java.util.regex.*;%0A%0Apublic class ViralAdvertising %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        Scanner in = new Scanner(System.in);%0A%09%09int n=in.nextInt();%0A%09%09System.out.println(getNumberLiked(5, 0, n));%0A    %7D%0A    static int getNumberLiked (int a,int sum,int n) %7B%0A%09%09if (n%3E0) %7B%0A%09%09%09sum+=(a/=2);%0A%09%09%09return getNumberLiked(a*3, sum, --n);%0A%09%09%7D%0A%09%09return sum;%0A%09%7D%0A%7D%0A

Create ViralAdvertising.java