fork(3) download
  1. import java.util.Scanner;
  2.  
  3. class submission{
  4. public static long fibonacci(int n) {
  5. return 1;
  6. }
  7.  
  8. public static void main(String[] args) {
  9. Scanner in = new Scanner(System.in);
  10. int n = in.nextInt();
  11.  
  12. System.out.println(fibonacci(n));
  13. }
  14. }
  15.  
Success #stdin #stdout 0.1s 380736KB
stdin
10
stdout
1