Macdonald-type identities