SCU 2007 warmup contest 9

E: ErdosĄŻ Travel