PROGRAMMING:Information encryption (exercise 6-10, fundamentals and applications of Python programming, Higher Education Society)
An intelligence agency uses public telephone to transmit data. The data is a 5-bit integer, which is encrypted in the process of transmission. The encryption rules are as follows: add 8 to each number, then replace the number with the remainder of sum divided by 7, and then exchange the first and fifth bits, and the second and third bits. Please write a program to complete the encryption process from plaintext to ciphertext.
###Input format:
A 5-digit integer that meets the requirements of the title
###Output format:
Encrypted ciphertext integer
###Input example:
Here is a set of inputs. For example:
```in
twelve thousand three hundred and forty-five
```
###Output example:
```out
sixty-four thousand three hundred and fifty-two
```
answer:If there is no answer, please comment
###Input format:
A 5-digit integer that meets the requirements of the title
###Output format:
Encrypted ciphertext integer
###Input example:
Here is a set of inputs. For example:
```in
twelve thousand three hundred and forty-five
```
###Output example:
```out
sixty-four thousand three hundred and fifty-two
```
answer:If there is no answer, please comment