Decrypt a twice-encrypted message using known pairs | Upstart Interview Question