solving love letter mystery in js