A food that a non-Jew cooked a third of the cooking is forbidden, and it does not help that a Jew finish its cooking. As the Shulchan Aruch wrote, in a time of pressure, such as erev Shabbat or a great loss, one may rely on those who permit. Dried potato flakes that a Jew then cooked are permitted.