Deductions & credits

In other words , if I have an educational expense of say 30K then I may put 10K in lifetime learning credit and 20K in Un-reimbursed Employment expense(if that helps my tax numbers) , instead of putting all 30K in Employment Expense. Is that correct ?