#include <cmath>
#include <stdio.h>
#include <stdlib.h>
#include <iomanip>
#include <iostream>
#include <graphics.h>
using namespace std;
const int L1=100;
const int L2=80;
const int L3=50;
const int ORIGIN_X=500;
const int ORIGIN_Y=500;
const int FINAL_X=-40;