X Interview Question

write algorithm to Decrypt message