#include #include int main() { float N; std::cin >> N; float z_count = 0; z_count = (int)N/3 * 2 + (int)N/5 * 2; printf("%.0f\n", z_count); return 0; }