static int intFromBinary(S s) { ret Integer.parseInt(s, 2); }