#include using namespace std; typedef long long ll; #define rep(i,n) for(int i=0;i<(n);i++) #define reps(i,f,n) for(int i=(f);i<(n);i++) int main(int argc, char const *argv[]) { int a[5]; rep(i, 5) cin >> a[i]; string str = ""; rep(i, 5) { if (a[i] % 15 == 0) str += "FizzBuzz"; else if (a[i] % 3 == 0) str += "Fizz"; else if (a[i] % 5 == 0) str += "Buzz"; else str += to_string(i); } // cout << str << endl; printf("%d\n", str.size()); return 0; }