Template:R from molecular formula