```
class Solution:
# @param num, a list of integer
# @return an integer
def findMin(self, num):
if len(num)==1:
return num[0]
else:
for i in range(1,len(num)):
if num[i-1]>num[i]:
if num[i]<=num[0]:
return num[i]
return num[0]
```