rps problem done