Block(JumpLoop(
  Execute(
    Set(
      10000
      0
      Multiply(
        Add(
          Trunc(Divide(
            Get(
              4000
              2
            )
            2
          ))
          0.5
        )
        Get(
          2000
          1
        )
      )
    )
    Set(
      10000
      3
      Subtract(
        Add(
          Get(
            10000
            0
          )
          -0.252
        )
        Divide(
          Subtract(
            Get(
              1000
              1
            )
            Negate(Get(
              1000
              1
            ))
          )
          2
        )
      )
    )
    Set(
      10000
      2
      Subtract(
        Add(
          Get(
            10000
            0
          )
          0.252
        )
        Divide(
          Subtract(
            Get(
              1000
              1
            )
            Negate(Get(
              1000
              1
            ))
          )
          2
        )
      )
    )
    Set(
      10000
      4
      Add(
        Get(
          10000
          2
        )
        0.21599999999999997
      )
    )
    Set(
      10000
      5
      Lerp(
        -0.9
        0.9
        Divide(
          Mod(
            Get(
              4000
              2
            )
            2
          )
          2
        )
      )
    )
    Set(
      10000
      0
      Subtract(
        Get(
          10000
          5
        )
        0.0018
      )
    )
    Set(
      10000
      1
      Add(
        Get(
          10000
          5
        )
        0.0018
      )
    )
    Draw(
      19
      Get(
        10000
        3
      )
      Get(
        10000
        0
      )
      Get(
        10000
        3
      )
      Get(
        10000
        1
      )
      Get(
        10000
        4
      )
      Get(
        10000
        1
      )
      Get(
        10000
        4
      )
      Get(
        10000
        0
      )
      240000
      0.8
    )
    Print(
      Get(
        4000
        1
      )
      20
      -1
      Add(
        Get(
          10000
          2
        )
        0.015
      )
      Get(
        10000
        5
      )
      0
      0
      0.22
      0.12
      0
      5
      1
      -1
      0
    )
    Set(
      10000
      2
      Add(
        Get(
          4000
          0
        )
        4
      )
    )
    1
  )
  Execute(If(
    Equal(
      Get(
        4000
        0
      )
      BeatToStartingBeat(Get(
        10000
        2
      ))
    )
    2
    4
  ))
  Execute(If(
    LessOr(
      Get(
        10000
        2
      )
      Get(
        2000
        Add(
          2
          2
        )
      )
    )
    3
    4
  ))
  Execute(
    Set(
      10000
      6
      BeatToTime(Get(
        10000
        2
      ))
    )
    Set(
      10000
      0
      Multiply(
        Add(
          Trunc(Divide(
            Get(
              10000
              6
            )
            2
          ))
          0.5
        )
        Get(
          2000
          1
        )
      )
    )
    Set(
      10000
      3
      Subtract(
        Add(
          Get(
            10000
            0
          )
          -0.252
        )
        Divide(
          Subtract(
            Get(
              1000
              1
            )
            Negate(Get(
              1000
              1
            ))
          )
          2
        )
      )
    )
    Set(
      10000
      4
      Subtract(
        Add(
          Get(
            10000
            0
          )
          0.252
        )
        Divide(
          Subtract(
            Get(
              1000
              1
            )
            Negate(Get(
              1000
              1
            ))
          )
          2
        )
      )
    )
    Set(
      10000
      5
      Lerp(
        -0.9
        0.9
        Divide(
          Mod(
            Get(
              10000
              6
            )
            2
          )
          2
        )
      )
    )
    Set(
      10000
      0
      Subtract(
        Get(
          10000
          5
        )
        0.0018
      )
    )
    Set(
      10000
      1
      Add(
        Get(
          10000
          5
        )
        0.0018
      )
    )
    Draw(
      21
      Get(
        10000
        3
      )
      Get(
        10000
        0
      )
      Get(
        10000
        3
      )
      Get(
        10000
        1
      )
      Get(
        10000
        4
      )
      Get(
        10000
        1
      )
      Get(
        10000
        4
      )
      Get(
        10000
        0
      )
      Subtract(
        21
        Divide(
          Get(
            10000
            6
          )
          100
        )
      )
      0.8
    )
    Set(
      10000
      2
      Add(
        Get(
          10000
          2
        )
        4
      )
    )
    1
  )
  Execute(5)
  0
))