Python 3.6.1:
print("S1 = ",end='')
S1 = int(input())
print("t1 = ",end='')
t1 = int(input())
print("S2 = ",end='')
S2 = int(input())
print("t2 = ",end='')
t2 = int(input())
v1 = S1/t1
v2 = S2/t2
vsr = (S1+S2)/(t1+t2)
print("v1 =",v1)
print("v2 =",v2)
print("vsr =",vsr)
print("R = ",end='')
R = int(input())
print("K = ",end='')
K = int(input())
D = 8*R*K
N = 7*D
M = 30*D
print("D =",D)
print("N =",N)
print("M =",M)