Well that would be just case of this particular case in Czech... Londýn (masculine, genetive => suffix -a, but when feminine genetive the word core changes - like nominatives Praha, Vídeň, Budapešť (Prague, Vien, Budapest) - genetives are Prahy, Vídně, Budapešti... the same issue with neuters...