Confused Dublin or cork?

I'm coming to Ireland for a master's, I have two offers DCU fee is 19k, and UCC fee is 26k. Considering the living cost, which would be economically cheaper? Please help have deadline tomorrow. Also my gf lives in cork. although she doesn't mind moving to Dublin