Identity for the barbershop HARDY