Questions... more questions

Find the remainder when (6^47+8^47) is divided by 343.

Find the remainder when (6^47+8^47) is divided by 343.

A box B1 has 299 cards. These cards are divided into three heaps and placed in Boxes B1, B2, B3 such that each box has at least one card. what is the probability that box B1 has more cards than B2 and B3 put together.