Hungary is investing more than HUF 12 billion in modernizing its railway to increase the volume of transportation of Ukrainian grain.