What is the type of : twice f x = f (f x)?

Please select your answer
Int -> (a ->a) -> a (a -> a) -> Int -> a (a -> a) -> a -> a a-> a -> a