Edugoog
As given, 8 is coded as D, 7 as W, 9 as N, 3 as I, 4 as B and 1 as M. So, 879341 is coded as DWNIBM.