#include<stdio.h> int main () { int n = 0; int s = 0; scanf("%d",&n); s = n/12*4+2; printf("%d",s); }