Ballistic electron transport in nanoscale three-branch junctions