 The scenes in the "Eastern city" were to be shot in Turkey. However,  the director Leonid Gaidai (qv) decided to shoot this part of the  film in Baku (Azerbaijan, USSR) due to limited financial resources.