class HW4Recursion { public static int f (int x) { // Assuming x is positive, return the number of 1s in binary representation of x } public static void main (String [] args) { System.out.println(f(33)); System.out.println(f(1017)); } }