Right exchange rate for currency conversion for capital gain by selling the foreign inherited house?

I used the exchange rate on the end of the year for filing FORM 3520, 8938, FBR.

When I sell the house, can use the exchange rate on the day of the year for the Basis as used in Form 8938 and the exchange rate on the day of sale to calculate the capital gain ?