We discuss the existence of solutions for a boundary value problem involving both left Riemann-Liouville and right Caputo types derivatives. For this, we convert the posed problem to a sum of two integral operators then we apply Krasnoselskii's fixed point theorem to conclude the existence of nontrivial solutions.