#include<stdio.h>

int main(){
    int days
    scanf("%d",days);
    int years = days/ 365;
    printf("%d\n",days);
    
    return 0;
}