Help me in solving CCLEARN problem

My issue

can someone answer this question using javascript.

My code

// your code goes here
let p;

Learning course: Practice C
Problem Link: CodeChef: Practical coding for everyone

The problem asks you to print the integer n multiplied by 2.

Javascript Code:

const readline = require('readline');
const rl = readline.createInterface({
  input: process.stdin,
  output: process.stdout

rl.on('line', (input) => {
  const n = parseInt(input);
  console.log(n * 2);