#Variable declaration
d=760.0 #viscocity of Pennysylvanian oil in s at 37C#
a=528.0 #viscocity of lubricating oil in s at 37C#
c=480.0 #viscocity of Gulf oil in s at 37C#
#Calculation
V=((d-a)/(d-c))*(100) #formula of viscocity index#
#Result
print"Viscocity index of the lubricating oil is ",round(V ,1)
#Variable declaration
s=0.86 #specific gravity of lubricating oil#
#Calculation
A=(141.5/s)-131.5 #formula of API gravity#
#Result
print"The gravity of lubricating oil is ",round(A)