Deductions & credits

can you offset short term gains with a long term loss ?