def f(a);a=~/1011(.{8}1110){2}.{8}1111/;$`.size.divmod(12);end p f("111001111110110100100000010001111101100100100100100101100111111111000010110111000001100111100001100111011111111110011111100001010111110011000011")
Standard input is empty
[4, 3]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!