#include using namespace std; int main() { int number=0, symbol=0; for(int i=0; i<8; i++){ char c; cin>>c; if(c=='l' || c=='o') number++; if(c=='a' || c=='s') symbol++; } int ans = (pow(2,number)-1) * (pow(2,symbol)-1); cout<