#include #include #include #include #include int main(void) { long long int num,z; scanf("%lld",&num); z=(num/5+num/3)*2; printf("%d",z); }