Problem expected constructor, destructor, or type conversion before '(' token

Hi! Would you be able to help with a problem in my code?. I was wondering about removing the function void loop of the example Blink because my aim was making the led 13 blink just one time, and I do not know how to do it.
Thanks for helping me.

int pin= 13;

void setup( ){
  pinMode(pin,OUTPUT);
  }
  digitalWrite(pin,HIGH);
  delay(1000);
  digitalWrite(pin,LOW);
  delay(1000);

Move the } on line 5 to the end of the code.

You will also need an empty loop() function

void loop() {
}

...R