Python Solution