using System.Collections;
using System.Collections.Generic;
static void Main(string[] args)
inputs = Console.ReadLine().Split(' ');
int x = int.Parse(inputs[0]);
int y = int.Parse(inputs[1]);
int nextCheckpointX = int.Parse(inputs[2]);
int nextCheckpointY = int.Parse(inputs[3]);
int nextCheckpointDist = int.Parse(inputs[4]);
int nextCheckpointAngle = int.Parse(inputs[5]);
inputs = Console.ReadLine().Split(' ');
int opponentX = int.Parse(inputs[0]);
int opponentY = int.Parse(inputs[1]);
if(nextCheckpointDist > 8000 && usedBoost == false && nextCheckpointAngle > -5 && nextCheckpointAngle < 5)
else if(nextCheckpointAngle > 180 || nextCheckpointAngle < -180)
else if(nextCheckpointAngle > 140 || nextCheckpointAngle < -160)
else if(nextCheckpointAngle > 100 || nextCheckpointAngle < -140)
else if(nextCheckpointAngle > 80 || nextCheckpointAngle < -80)
else if(nextCheckpointAngle > 60 || nextCheckpointAngle < -60)
else if(nextCheckpointAngle > 20 || nextCheckpointAngle < -20)
else if(nextCheckpointAngle > 10 || nextCheckpointAngle < -10)
else if(nextCheckpointDist < 1000)
Console.WriteLine(nextCheckpointX + " " + nextCheckpointY + " " + "BOOST");
Console.WriteLine(nextCheckpointX + " " + nextCheckpointY + " " + thrust);