//Wokwi Serial terminal simulation - Wokwi Arduino Simulator

void setup() 
{
  Serial.begin(9600);
  Serial.println("Welcome to the Serial Monitor!");
  Serial.println("---------------------------------");
}

void loop() 
{

while (Serial.available() == 0) {}
  
  int value = Serial.parseInt();
  
  if(value > 0)
  {
    Serial.print("Number: ");
    Serial.print(value);
    Serial.print(", hex: ");
    Serial.print(value, HEX);
    Serial.print(", bin: ");
    Serial.println(value, BIN);
  }   
}