CMIMC 2020 Power Problem 4.4

Devise an algorithm that allows you to, given the code E_{R S}(m) of length k+t with at most t erasures, decipher the original length k message m.