This seems like a homework assignment for a computational modeling class. Can you give us some more background as to the scope of the assignment? Are you meant to feed in how long each customer waits and then compute the average? How many tellers are there?
Please show us what you've done so far and where you're stuck or what's not making sense.