#include <stdio.h>

int main() {
    int a=0;
    scanf("%d",&a);
    printf("%lld",a*(long long)3.156e7);
    return 0;
}