https://leetcode.com/problems/average-value-of-even-numbers-that-are-divisible-by-three/


Success


```python
class Solution:
    def averageValue(self, nums: List[int]) -> int:
        nums = [num for num in nums if num % 3 == 0 and num % 2 == 0]
        if len(nums) == 0:
            return 0
        result = sum(nums)/len(nums)
        return int(result)
```
