Input (grade 10): The stem usually points upwards if it is below the middle line of the stave or downwards if it is on or above the middle line.
Output (grade 11): The stem usually points up (like a d) if it is below the middle line of the stave or down (like a p) if it is on or above the middle line.