nodejs import readline

// Step 1: Import the 'readline' module
const readline = require('readline');

// Step 2: Create an interface for reading input from the user
const rl = readline.createInterface({
  input: process.stdin,
  output: process.stdout
});

// Step 3: Prompt the user for input
rl.question('Please enter something: ', (userInput) => {
  // Step 4: Process the user's input
  console.log(`You entered: ${userInput}`);

  // Step 5: Close the readline interface
  rl.close();
});