A passenger sitting in a train A moving at $90 \mathrm{~km} / \mathrm{h} observes another train \mathrm{B} moving in the opposite direction for 8 \mathrm{~s}. If the velocity of the train B is 54 \mathrm{~km} / \mathrm{h}$, then length of train B is: