Turning lights on and off (task)

Hi everyone!
While solving these simple tasks, I tried all the actions available for my basic knowledge in UE4, and still couldn’t complete them. This is the second day I’ve been trying to turn on the light, no matter how funny it sounds.

Does anyone know the solution?

Task:

  1. You need to create a Blueprint with a light source that should turn on and off several times after starting the scene.
  2. Use the Event BeginPlay node. The number and duration of “flashes” must be set using variables that can be edited from the scene.