EN
We study the spectrum of the quantum dot coupled to two external leads, which may be normal and/or superconducting. The dot is described by the Anderson-Hubbard impurity model in the infinity U limit. The impurity spectral function shows complex behavior depending on the temperature and the state of the leads. For normal leads and at low temperature we observe the appearance of the Kondo resonance, while for BCS-like superconducting leads the bound states emerge due to absence of low energy excitations in the leads.