Untitled

                Never    
import sys
import math

# Auto-generated code below aims at helping you parse
# the standard input according to the problem statement.

message = input()


#в строку
def text_to_bits(text, encoding='ASCII', errors='surrogatepass'):
    bits = bin(int.from_bytes(text.encode(encoding, errors), 'big'))[2:]
    return bits.zfill(7 * ((len(bits) + 6) // 7))
    
    
# Write an action using print
# To debug: print("Debug messages...", file=sys.stderr)



s = text_to_bits(message)

Raw Text