#include std::string input; long long int GetLCM(long long int a, long long int b){ long long int tmpA = a, tmpB = b; if(tmpA> n >> a >> b >> c; std::cout << n/a + n/b + n/c - n/GetLCM(a, b) - n/GetLCM(b, c) - n/GetLCM(c, a) + n/GetLCM(GetLCM(a, b), c)<< "\n"; return 0; }