#!/bin/bash
echo "ibase=2; 1001101010010100011110111" | bc