brilliant , I know a story quite similar
the mother of my best friend about 10-15 years ago was working for a military department back in romania , any way each department from that building were having there own parrots (they were splitting the money to take them to vets , food , etc) but one of the buggers picked up the fact before somebody would come in to an office , they would had to knock gentle as a courtesy ... so every time somebody was knocking at the door and opened the door they would said Good morning , or good afternoon and the parrot would answer back with the typical 'f..uk up's and all sort's '