#include <iostream>using namespace std;int main(){ string str; int ans=0; cin>>str; for(int i=0;i<str.size();i++){ cout<<str[i]; if(str[i]=='8')ans+=10; } cout<<" can get "<<ans<<"% off.\n"; return 0;}