#include "bits/stdc++.h" using namespace std; #define print(x) cout< PI; typedef pair V; typedef vector VE; const ll mod = 100000000000; using namespace std; int main() { ll n; cin>>n; ll ans=0; ans+=n/3*2; ans+=n/5*2; cout<