Tyskland, Tsjekkia og Polen