#Given
N = 20
#Calculation
L = (N*(N-1))/2.0
#Result
print"The number of interconnecting wires required are ",L
#Given
block = 1500
ethernet = 10.0*10**6
token_ring = 16.0*10**6
#Calculation
t1_bit = 1/ethernet
t1_byte = 8*t1_bit
t1_1526 = 1526 *t1_byte
t2_bit = 1/token_ring
t2_byte = 8 * t2_bit
t2_1521 =1521*t2_byte
#Result
print"(a) Time required for 1526 bytes is ",t1_1526*10**6,"ns"
print"(b) Time required for 1521 bytes is ",t2_1521*10**3,"ms"