Envoyer par SMS: Sharp conditions for the convergence of greedy expansions with prescribed coefficients