I am beginner I tried so many times but I couldn't solve this problem I will be very pleased if you help me...
the question is:
- Let x be an integer, and R(x) is a function that returns the reverse of the x in terms of its digits.
- For example , if x:1234 then R(x)=4321.
- Let’s call a positive integer mirror-friendly if it satisfies the following condition: