Function game JS

I need help with a function without using arrays or arrow functions. Where the user inputs a sentence and a number and if certain letters appears in the sentence you need to aply certain instructions for example: “c” appear then number -1 “m” number +1 “d” number * number “a” put the number in between “@” for example if I input “aaa” and 1: it will return @1@@1@@1@ or if I enter “cada” and 2: @1@@4@

Function game (secuence, number){
let numberR=number
let result= ""
if(Secuence.includes("c")){
numberR= number --
return numberR
}
if (secuence.includes("m")){
numberR= number ++
return numberR
}
if (secuence.includes("d")){
numberR= number*number
return numberR
}
if (secuence.includes("a")){
result= ("@" + numberR+"@")
return result
}
alert (result)
}
let secuence= prompt"Enter a secuence"
let number= prompt "Enter a number"

It looks like you missed a quote here