PH wins medals in China math contests