func isStraight(nums []int) bool {
num := make([]bool, 14)
min, max := 14, 0
for _, v := range nums {
if num[v] {
return false
}
if !num[v] && v != 0 {
num[v] = true
if v < min {
min = v
}
if v > max {
max = v
}
}
}
if max - min > 4 {
return false
}
return true
}