I have connected a 7 segment common anode led to 7447 ic. It works fine with the switches. Now I want to connect the inputs of a 7486 ic to input A and 7432 ic to input B and then tie both the inputs C and D to ground. Will this setup work ? What resistors should I put in the inputs? I am using a 5 volt supply which outputs 1 amp current.