If the two lines x−12=1−y−a=z4 and x−31=2y−34=z−22 are perpendicular, then the value of a is equal to