Learn both together, but speaking Japanese will make you much more confident to use your language skills. Writing is good if you want to focus on passing exams.