A man travelled a distance of 180 Km in 18 hours partly on foot at 8 km/h and partly on bicycle at 17 km/h. Find the distance travelled on foot.