For these loop preventions scenario i use either two options
1) Filter R1 from learning 184.108.40.206/32 inbound in OSPF. That way, it'ld be learnt via RIP
2) Change the AD per prefix 220.127.116.11/32 on OSPF. This will affect on the prefix 18.104.22.168/32
If i have my way, i always avoid playing with the AD.