Human: Convert hex string to int Assistant: 
Here is some code to convert hex string "deadbeef" to integer

int('deadbeef', 16)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.