Maritsa
It originates in Rila mountain and flows through Bulgaria in its upper and middle reaches , while its lower course forms much of the border between Greece and Turkey . 
<triplet> Bulgaria <subj> Greece <obj> shares border with <subj> Turkey <obj> shares border with <triplet> Greece <subj> Bulgaria <obj> shares border with <subj> Turkey <obj> shares border with <triplet> Turkey <subj> Bulgaria <obj> shares border with <subj> Greece <obj> shares border with