fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
  10. public int count (int[] S,int m,int n){
  11.  
  12. if(n==0)
  13. return 1;
  14.  
  15. if (n < 0)
  16. return 0;
  17.  
  18.  
  19. return count( S, m - 1, n ) + count( S, m-S[m-1],n );
  20. }
  21.  
  22. public static void main (String[] args) throws java.lang.Exception
  23. {
  24. int[] coins = {1,5,10,25,50,100};
  25. int amount = 500;
  26. int len =coins.length;
  27. Ideone d = new Ideone();
  28. System.out.println("" + d.count(coins,coins.length,amount));
  29. }
  30. }
Runtime error #stdin #stdout #stderr 0.08s 4386816KB
stdin
Standard input is empty
stdout

Standard output is empty

stderr
Exception in thread "main" java.lang.StackOverflowError
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)
	at Ideone.count(Main.java:19)