From Wiktionary, the free dictionary
ра́з та гара́зд • (ráz ta harázd)
- even though something is done rarely, it is done extremely well
- a poorly-skilled person or poor-quality thing can perform well, albeit rarely or by accident; a stopped clock is right twice a day