Input (grade 11): If the player's Pokémon defeats the opposing Pokémon (causes it to faint), it receives experience points.
Output (grade 10): If the player's Pokémon defeats the opponent's Pokémon, it gets experience points.