package integer; public class IntUtil { static public int get3of4(int n) { return (n >> 1) + get1of4(n); } static public int get1of4(int n) { return n >> 2; } }