import java.util.;
public class Main{
public static void main (String[] args){
Scanner sc=new Scanner(System.in);
int str=sc.nextInt();
long num=(long)(str
3.156*Math.pow(10,7));
System.out.println(num);
}
}