
def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase    ,		__lowerCAmelCase							):
    snake_case__						=				''''''
    for i in table:
        res += inp[i - 1]
    return res





def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase							):
    return data[1:] + data[0]





def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase    ,		__lowerCAmelCase							):
    snake_case__						=				''''''
    for i in range(len(lowerCAmelCase_							)							):
        if a[i] == b[i]:
            res += "0"
        else:
            res += "1"
    return res





def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase    ,		__lowerCAmelCase							):
    snake_case__						=				int("0b" + data[0] + data[-1]    ,		2							)
    snake_case__						=				int("0b" + data[1:3]    ,		2							)
    return bin(s[row][col]							)[2:]





def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase    ,		__lowerCAmelCase    ,		__lowerCAmelCase    ,		__lowerCAmelCase    ,		__lowerCAmelCase							):
    snake_case__						=				message[:4]
    snake_case__						=				message[4:]
    snake_case__						=				apply_table(lowerCAmelCase_    ,		lowerCAmelCase_							)
    snake_case__						=				xor(lowerCAmelCase_    ,		lowerCAmelCase_							)
    snake_case__						=				apply_sbox(lowerCAmelCase_    ,		temp[:4]							)  # noqa: E741
    snake_case__						=				apply_sbox(lowerCAmelCase_    ,		temp[4:]							)
    snake_case__						=				'''0''' * (2 - len(lowerCAmelCase_							)) + l  # noqa: E741
    snake_case__						=				'''0''' * (2 - len(lowerCAmelCase_							)) + r
    snake_case__						=				apply_table(l + r    ,		lowerCAmelCase_							)
    snake_case__						=				xor(lowerCAmelCase_    ,		lowerCAmelCase_							)
    return temp + right


if __name__ == "__main__":
     __magic_name__            =  input('''Enter 10 bit key: ''')
     __magic_name__            =  input('''Enter 8 bit message: ''')

     __magic_name__            =  [6, 3, 7, 4, 8, 5, 10, 9]
     __magic_name__            =  [3, 5, 2, 7, 4, 10, 1, 9, 8, 6]
     __magic_name__            =  [2, 4, 3, 1]
     __magic_name__            =  [2, 6, 3, 1, 4, 8, 5, 7]
     __magic_name__            =  [4, 1, 3, 5, 7, 2, 8, 6]
     __magic_name__            =  [4, 1, 2, 3, 2, 3, 4, 1]
     __magic_name__            =  [[1, 0, 3, 2], [3, 2, 1, 0], [0, 2, 1, 3], [3, 1, 3, 2]]
     __magic_name__            =  [[0, 1, 2, 3], [2, 0, 1, 3], [3, 0, 1, 0], [2, 1, 0, 3]]

     # key generation
     __magic_name__            =  apply_table(key, paa_table)
     __magic_name__            =  temp[:5]
     __magic_name__            =  temp[5:]
     __magic_name__            =  left_shift(left)
     __magic_name__            =  left_shift(right)
     __magic_name__            =  apply_table(left + right, pa_table)
     __magic_name__            =  left_shift(left)
     __magic_name__            =  left_shift(right)
     __magic_name__            =  left_shift(left)
     __magic_name__            =  left_shift(right)
     __magic_name__            =  apply_table(left + right, pa_table)

     # encryption
     __magic_name__            =  apply_table(message, IP)
     __magic_name__            =  function(expansion, sa, sa, keya, temp)
     __magic_name__            =  temp[4:] + temp[:4]
     __magic_name__            =  function(expansion, sa, sa, keya, temp)
     __magic_name__            =  apply_table(temp, IP_inv)
     print('''Cipher text is:''', CT)

     # decryption
     __magic_name__            =  apply_table(CT, IP)
     __magic_name__            =  function(expansion, sa, sa, keya, temp)
     __magic_name__            =  temp[4:] + temp[:4]
     __magic_name__            =  function(expansion, sa, sa, keya, temp)
     __magic_name__            =  apply_table(temp, IP_inv)
     print('''Plain text after decypting is:''', PT)





def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase    ,		__lowerCAmelCase							):
    return price * (1 + tax_rate)


if __name__ == "__main__":
     print(F'''{price_plus_tax(100, 0.2_5) = }''')
     print(F'''{price_plus_tax(1_2_5.5_0, 0.0_5) = }''')



