def int2bin(n, count=24):
    """
    trans a number to binary string
    :param n: number
    :type n: int
    :param count: total length
    :type count: int
    :rtype: binary string
    """
    return "".join([str((n >> y) & 1) for y in range(count-1, -1, -1)])