// // Which of the functions below are one-to-one? // Which of the functions below are onto? // public class Functions { public static int f1(int n){return n-1;} public static int f2(int n){return n*n+1;} public static int f3(int n){return n*n*n;} public static int f4(int n){return n/2;} public static int f5(int n){return f4(f2(n));} public static void main(String[] args) { int n = Integer.parseInt(args[0]); System.out.println(f1(n) + " " + f2(n) + " " + f3(n) + " " + f4(n) + " " + f5(n)); } }