Given a list of integers, write a function to find the maximum sum of a non-adjacent subsequence.
Implement max_non_adjacent_sum(nums). Return an integer, and allow the empty subsequence, so an input containing only negative values returns 0. The input contains at least one integer.
def max_non_adjacent_sum(nums):