# data[].attributes.body
Link Canva: https://www.canva.com/design/DAFRRHu7PXM/xrQprfhBhECemouv3yo48Q/edit?utm_content=DAFRRHu7PXM&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton&fbclid=IwAR1_kZdd780meZKsdTxzdeBk8RW_YjfBvZrBWazrNkM-yYSRmDzSIEiG7vk

# data[].attributes.attachment_link.readable_text
print('Ma SP: 1, Coca-Cola, 10000đ')
print('Ma SP: 2, Lavie, 6000đ')
print('Ma SP: 3, Bimbim, 5000đ')
print('Ma SP: 4, Milo, 7000đ')
print('Ma SP: 5, Sua Chua, 4500đ')
a = int(input('So Tien: '))
if a<4500:
    print('Khong Du Tien')
else:
    print('Nhap Gia Tri Thu 2 La "0" Neu Chi Mua 1 San Pham')
    print('')
    b,c=map(int,input('Nhap Ma San Pham: ').split())
    if b==1:
        if c==0:
            b=10000
            n=int(input('So Luong San Pham: '))
            if a<n*b:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-n*b)
        if c==2:
            b=10000
            c=6000
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
        if c==3:
            b=10000
            c=5000
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
        if c==4:
            b=10000
            c=7000
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
        if c==5:
            b=10000
            c=4500
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
    if b==2:
        if c==0:
            b=6000
            n=int(input('So Luong San Pham: '))
            if a<n*b:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-n*b)
        if c==1:
            b=6000
            c=10000
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
        if c==3:
            b=6000
            c=5000
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
        if c==4:
            b=6000
            c=7000
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
        if c==5:
            b=6000
            c=4500
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
    if b==3:
        if c==0:
            b=5000
            n=int(input('So Luong San Pham: '))
            if a<n*b:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-n*b)
        if c==1:
            b=5000
            c=10000
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
        if c==2:
            b=5000
            c=6000
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
        if c==4:
            b=5000
            c=7000
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
        if c==5:
            b=5000
            c=4500
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
    if b==4:
        if c==0:
            b=7000
            n=int(input('So Luong San Pham: '))
            if a<n*b:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-n*b)
        if c==1:
            b=7000
            c=10000
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
        if c==2:
            b=7000
            c=6000
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
        if c==3:
            b=7000
            c=5000
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
        if c==5:
            b=7000
            c=4500
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
    if b==5:
        if c==0:
            b=4500
            n=int(input('So Luong San Pham: '))
            if a<n*b:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-n*b)
        if c==1:
            b=4500
            c=10000
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
        if c==2:
            b=4500
            c=6000
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
        if c==3:
            b=4500
            c=5000
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))
        if c==4:
            b=4500
            c=7000
            n=int(input('So Luong San Pham (Ma B): '))
            m=int(input('So Luong San Pham (Ma C): '))
            if a<n*b+m*c:
                print('Khong Du Tien')
            else:
                print('Giao Dich Thanh Cong')
                print('Tien Thua: ',a-(n*b+m*c))

# data[].attributes.attachment_link.title
Phiếu học sinh tự đánh giá lẫn nhau trong nhóm

# data[].attributes.body
https://danphuonghighschool-my.sharepoint.com/:w:/g/personal/2006a3hanh4k60_c3danphuong_edu_vn/Edc0_0-SV9JAr28ecFfeyYsBx0_2f_D3A1ULN_f63Ty-gQ?e=zdyFAQ

# data[].attributes.body
https://danphuonghighschool-my.sharepoint.com/:w:/g/personal/2006a3hanh4k60_c3danphuong_edu_vn/Efy676n_GC9BrKRPKv9Qyy0BGyca_bF8fVffG8NwgCRdNA?e=bm9hsE

# data[].attributes.body
https://danphuonghighschool-my.sharepoint.com/:w:/g/personal/2006a3hanh4k60_c3danphuong_edu_vn/Ea6a2cEdmapNth2hKOqUDHABFqTLp4V-wu_aFThcVXUJqg?e=OxWhtK

# data[].attributes.body
https://danphuonghighschool-my.sharepoint.com/:w:/g/personal/2006a3hanh4k60_c3danphuong_edu_vn/EQ5hRodI1a1KrIMSJGpWL9MBZ9ZuHX-c-UXO4LQhAOE-nw?e=EAwkKE

# data[].attributes.body
https://danphuonghighschool-my.sharepoint.com/:w:/g/personal/2006a3hanh4k60_c3danphuong_edu_vn/Ef5KGnNaXDBGggfMG5TLyP4BR8ss9bVWyuE6_4i_TqaxhQ?e=a6TLFN