I can only say what the Bible says not to do.. And that is not to engage in sexual relations ( fornication ) before marriage..
The Bible does not say thou shalt not huggeth or kisseth thine girlfriend who is not thine wife..
The only ""sin"" that could arise in some minds would be the sexual thoughts that some might be thinking about when they are hugging and kissing their girlfriend ( insert boyfriend here if you are a woman
).. But people can be affectionate with thoughts of love while hugging and kissing without being caused to lust over the person they are hugging and kissing..
So if hugging and kissing does not lead one to lust then option B would be my pick.. But if you cannot control yourself and you find yourself lusting simply because you hugged someone then option A is for you..