func main() var s: []char :: cui@input() var a: int :: 8 var b: int :: 0 var c: int :: 0 for i(0, 7) switch(s[i]) case 'l', 'o' do a :- 1 do b :+ 1 case 'a', 's' do a :- 1 do c :+ 1 end switch end for var ans: int :: 1 if(b = 0 | c = 0) do ans :: 0 else do ans :* (2 ^ b - 1) * (2 ^ c - 1) if(a = 0) do ans :- 1 end if end if do cui@print("\{ans}\n") end func