Ahhh The Fuck? Is used to express surprise or shock to someone's statement.
Friend: Yo, I got an A on my test! You: ATF!