In this paper we present the classification of a subclass of naturally graded Leibniz algebras. These $n$-dimensional Leibniz algebras have the characteristic sequence equal to (n-3,3). For this purpose we use the software Mathematica.