Sudo solver