On ingress/inbound Frame-Relay frames, the DLCI in the F-R header has nothing to do with the DLCI that the remote device originally applied when transmitting the frame. The DLCI assigned to that PVC is only locally-significant between you and your local Frame-Relay switch.
So what you need to ask yourself is, "What DLCI value would my router apply if it were to TRANSMIT a frame to that remote destination?" Whatever your answer is to that question, that same DLCI value will be seen in frames that you receive FROM that destination.
Here's an analogy,
Imagine that you are located in Boston, MA and standing in front of a tunnel. There is a sign at the top of that tunnel (the DLCI value) that reads, "Tunnel-1". You know that if you enter that tunnel, you will pop-out in Boise, Idaho. When someone is standing in Boise looking at that tunnel (leading back to you, in Boston) it may say, "Tunnel-1"...or it might say, "Tunnel-87". But it doesn't really matter what THEY see the as the name. That tunnel only goes to one place...you...in Boston. So if you are standing in Boston, looking at that tunnel, everything that comes goest into, or comes out of that tunnel (from your perspective) is related to "Tunnel-1"...regardless of what the sign may have been on the other end of that tunnel when they first entered it.
Hope that helped!