#include #include int main() { std::ios::sync_with_stdio(false); const uint64_t in = [](){ uint64_t tmp; std::cin >> tmp; return tmp; }(); std::cout << (in / 3 + in / 5) * 2 << std::endl; }