### Description
As hex values can include letters `A` through to `F`, certain English words can be spelled out, such as `CAFE`, `BEEF`, or `FACADE`.
This vocabulary can be extended by using numbers to represent other letters, such as `5EAF00D`, or `DEC0DE5`.
Given a string, your task is to return the decimal sum of all words in the string that can be interpreted as such hex values.
### Example
Working with the string `BAG OF BEES`:  
* `BAG` ==> `0` as it is not a valid hex value  
* `OF` ==> `0F` ==> `15`  
* `BEES` ==> `BEE5` ==> `48869`
So `hex_word_sum('BAG OF BEES')` returns the sum of these, `48884`.
### Notes
* Inputs are all uppercase and contain no punctuation
* `0` can be substituted for `O`
* `5` can be substituted for `S`
import re

def hex_word_sum(s):
    s = s.translate(str.maketrans('OS','05'))
    return sum( int(x,16) for x in re.findall(r'\b[\dA-F]+\b', s))
import re

def hex_word_sum(s):
    s = s.translate(str.maketrans('OS','05'))
    return sum( int(x,16) for x in re.findall(r'\b[\dA-F]+\b', s))