Even if you can manage to get all of the grain where it needs to go on new routes, the price of grain is going to go up substantially in places previously importing from Russia/Ukraine, and the logistical changes will cause second-order disruptions to other global shipping.
(3700 * 300000 * 1000) / (365 * 2000)
They produce about 1.8 billion heads of poultry [3], and in total only about 1/3 of their animal feed requirements are produced domestically [1].
Animal feed appears to be in a different category from other grain imports for human consumption, probably because it really is a separate product containing a mixture of grains and nutrients from other sources. Unfortunately though, much of it is also imported from Ukraine [4] which has banned all exports of grains for now, and it's probably a reasonable assumption that this will include grains used in animal feed, since the issue is the food security of their own people.
Eqypt is going to need a lot more newly-sourced grains or grain-based products, a large # of container ships full of it.
[1] https://apps.fas.usda.gov/newgainapi/api/Report/DownloadRepo...
[2] https://cals.arizona.edu/forageandgrain/sites/cals.arizona.e...
[3] https://crimsonpublishers.com/cras/pdf/CRAS.000502.pdf
[4] https://www.feednavigator.com/Article/2016/09/19/USDA-Egypti...
I'll own up to some level of hypocrisy on this as I am not a vegetarian, but I also won't complain much if further population growth makes meat consumption unsustainable when it means people starve. (I don't think we're there yet: world hunger right now seems to be more about other factors, economical and otherwise. I'm open to opposing viewpoints on it though)
I'm tentatively optimistic that this situation isn't going to mean mass famines, but there will be a significant monetary cost and likely some human cost as well.
Which would be really bad if it was a global increase, but when it's a tiny sliver of the market you only need a sliver of spare capacity.
If there was spare capacity, but there doesn't seem to be much at all. 1 in 10 inter-country wheat shipments will be Ukrainian, and it's about 1 in 7 for corn, probably other crops as well. Repurposing that shipping capacity isn't easy either, from a logistics standpoint. It can take up to a month just for a ship to cross the Pacific, before any other route complexities. It doesn't help that there's over 100 such cargo ships tied up in Ukrainian ports either, a decent proportion of which will be the subset of cargo ships fitted out for bulk grain transport.
The last few years have already shown us how delicate the global logistics & supply chains are. It doesn't take much to stretch them near to the breaking point, and we're already close to that point.
Entirely taking out Ukrainian grain shipments is not a small sliver of the total amount of long-distance grain shipping, but instead requires a significant increase in the total deadweight-ton-miles. We are talking about taking 10%+ of international wheat/corn/barley trade and making it travel 3–6x further than it otherwise would, in an industry that usually runs on thin capacity margins. (Disclaimer: I am not an expert and have not done a detailed calculation.)
That is a potential logistical nightmare. Hopefully smart people with the power to make large temporary changes are working on ameliorating the pain and keeping everyone fed.
Shifting suppliers on this scale in normal times isn't a quick process. Right now global logistics are still a complete & total mess.
With great uncertainty, $cost becomes somewhat disconnected from supply. Right now futures are up about 40%. Availability won't mean much if it isn't affordable, and countries need to lock in supply because it's not really a JIT distribution system (see previous point on logistics). If the war has disrupted your deliveries 3 months out, you need to lock in new contracts now (if not 3 months ago) to keep supply moving.